Neha Parate Thanks for the question, Can you please add more details about the API call that you are making.
Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource.” typically occurs when the subscription key or the API endpoint provided is incorrect.
Here are some steps you can take to resolve this issue:
Check your subscription key: Make sure that the subscription key you’re using is valid and active. You can usually find this in your Azure portal or the platform where you obtained the API.
Check your API endpoint: Ensure that you’re using the correct API endpoint for your resource. The endpoint usually depends on the region where your resource is located.
- Check your code: If you’re using code to access the API, make sure that the subscription key and the API endpoint are correctly implemented in your code