Reputation: 71
While trying to access newly created rest API service from developer portal in Azure API management, I am getting below error
{ "statusCode": 404, "message": "Resource not found" }
Upvotes: 1
Views: 3988
Reputation: 24138
According to the error code, per my experience, I think the issue was caused by using an incomplete url in your request.
For example, there is an API https://xxxx.azure-api.net/echo
in the deveploer portal https://xxxx.azure-api.net/admin/services
, as below.
If I just did the GET
request for the url, I got the same error as yours, because the name echo
is only the API service name, not a complete resource name. In the example, the complete url should be https://xxxx.azure-api.net/echo/resource?param1=sample[&...]
, please see below.
So please check your API definition and use the related complete APIs for your requests.
Upvotes: 2