Skip to content
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

Missing Azure Location setting #268

Open
JPolonia opened this issue Sep 8, 2022 · 1 comment
Open

Missing Azure Location setting #268

JPolonia opened this issue Sep 8, 2022 · 1 comment

Comments

@JPolonia
Copy link

JPolonia commented Sep 8, 2022

  • Which version of Django are you using?: 3.2
  • Which version of django-rosetta are you using?: 0.9.8
  • Have you looked trough recent issues and checked this isn't a duplicate? yes

Setting AZURE_CLIENT_SECRET is not enough. Gives the following error:

Microsoft Translation API error: Error code 401000, The request is not authorized because credentials are missing or invalid.

Adding the missing location to API request header solves this issue.

image

@ydf
Copy link

ydf commented Apr 21, 2023

u can set location Global
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants