Help Center> Natural Language Processing> FAQs> Why Is APIG.0101 Reported?

Why Is APIG.0101 Reported?

Description

The error message "The API does not exist or has not been published in the environment" is reported when a user calls a language understanding API.

URL of the called API:

https://nlp-ext.cn-north-4.myhuaweicloud.com/0ade47a66b8025572f42c0157eb7c94b/nlg/summarization

Solution

Ensure that the URL is correct.

The API URL listed above is incorrect, in which v1 is missing. The correct URL is as follows:

https://nlp-ext.cn-north-4.myhuaweicloud.com/v1/0ade47a66b8025572f42c0157eb7c94b/nlg/summarization

For details about other error codes, see Error Codes.