API NOT found error IoT Central Rest API

Amit Dhawan 1 Reputation point
2020-06-04T04:52:53.503+00:00

I get below error:-

Not Found({"error":{"code":"NotFound","message":"API not found. If you contact support, please include the following information. Request ID: 8srjji57, Time: Thu, 04 Jun 2020 04:32:05 GMT.","requestId":"8srjji57","time":"Thu, 04 Jun 2020 04:32:05 GMT"}})

The api im using is below

az rest --method get --uri https://$APP_NAME.azureiotcentral.com/api/preview/applications --headers Authorization=$API_TOKEN

The document Im following is below

https://learn.microsoft.com/en-in/learn/modules/manage-iot-central-apps-with-rest-api/3-exercise-authorize-api

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,871 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Amit Dhawan 1 Reputation point
    2020-06-15T04:17:39.473+00:00

    No, and no one from Microsoft helped either.