What do I do if the I404NF error is reported?

更新时间:
复制 MD 格式

The I404NF error indicates that the request path or method does not match the API definition. Check the following common causes:

  • If a BasePath is configured for the group, add the BasePath to the beginning of the API request path. For example, if the BasePath of the group is /test and the request path of the API is /nameid, the path for the API call must be /test/nameid.

  • If the Method in your API definition is set to POST, the request must also use the POST method. Otherwise, the I404NF error code is returned.

  • If your domain name is bound to multiple instances, check the DNS records on your client to verify that the request is routed to the correct instance.

  • If the API is published to a non-production environment, specify the target environment when you call the API.

    • To call the API in the test environment, add the X-Ca-Stage:TEST header to the request.

    • To call the API in the staging environment, add the X-Ca-Stage:PRE header to the request.