-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
document_intelligence is not working #1168
Comments
Ahh yes, it's because the default uses managed identity. This PR should solve the problem I think: #1151 Try setting the "AZURE_API_KEY" environment variable. Otherwise, You can do:
|
thanks for the reply @afourney , I think I am using the latest code with your fix and I tried with your suggestion, but still get the same error document_intelligence_client = DocumentIntelligenceClient(
endpoint=endpoint, credential=AzureKeyCredential(key)
) seems pretty solid to me, I will try to attach a debugger and see why |
Thanks! The option is pretty new, so any help on this front is appreciated. It’s meant to work, and we'll shake out the bugs I'm sure. |
code is throwing this error
same set up with document_intelligence sdk directly is working?
any idea why? I am pretty I have the endpoint url and api key set up properly
The text was updated successfully, but these errors were encountered: