Help Center/ Software Repository for Container/ FAQs/ Troubleshooting/ What Do I Do If an Error Occurs When I Call an API?
Updated on 2024-11-06 GMT+08:00

What Do I Do If an Error Occurs When I Call an API?

If the URL of an SWR API contains an image name with a slash (/), an error may occur. Replace the slash with a dollar sign ($).

For example, an image named a/b belongs to organization c.

When you call an API to view the image information, replace GET /v2/manage/namespaces/c/repos/a/b with GET /v2/manage/namespaces/c/repos/a$b.