@Sandeep Nair
Thanks for reaching out to us, may I know if you just created your subscription within 24 hrs?
It may be some delay for the subscription and the resource. As you are working on JS, you may need to include your endpoint and subscription Id in your header, could you please share the document or the code same you are working now?
Here are a few things you can try to resolve the issue generally -
Double-check that you are using the correct subscription key and API endpoint. Make sure that the subscription key is valid and that it is associated with an active subscription. Also, ensure that you are using the correct regional API endpoint for your resource.
Check that your subscription has the necessary permissions to access the Document Intelligence service. You may need to adjust the permissions on your subscription or resource group to ensure that you have the necessary access.
Verify that your code is correctly passing the subscription key and API endpoint to the Document Intelligence service. Double-check that the values are being passed correctly and that there are no typos or other errors in your code.
If you are still experiencing issues, try contacting Microsoft support for further assistance. They may be able to help you troubleshoot the issue and resolve it more quickly.
I hope this helps! Let me know if you have any further questions or concerns.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.