You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Requests from this Android client application <empty> are blocked #1697
Hi all,
When i tried to translate the text with Google Cloud API but i got a message :
{
"error": {
"code": 403,
"message": "Requests from this Android client application \u003cempty\u003e are blocked.",
"errors": [
{
"message": "Requests from this Android client application \u003cempty\u003e are blocked.",
"domain": "global",
"reason": "forbidden"
}
],
"status": "PERMISSION_DENIED"
}
}
I don't know how to fix this issue , plz tell me if you have any solution.
Thanks
@thanhlv93 are you still experiencing this problem? If so, could you share the code you're using for authentication to help us diagnose the issue? Thanks!
Activity
garrettjonesgoogle commentedon Mar 10, 2017
It looks like you aren't doing auth correctly. Are you setting an API key?
suntzu93 commentedon Mar 11, 2017
I setting and using Android key then got above message . I tried public key then ok . I don't know why Android key i can't use it.
tcoffee-google commentedon Jun 5, 2017
@thanhlv93 are you still experiencing this problem? If so, could you share the code you're using for authentication to help us diagnose the issue? Thanks!
suntzu93 commentedon Jun 5, 2017
@tcoffee-google yeah , i still this problem and i'm using public key instead private key.
tcoffee-google commentedon Jun 5, 2017
@thanhlv93 it would help us to see the code you were using for authentication that was producing the error message.
tcoffee-google commentedon Jun 22, 2017
Closing this issue due to lack of context --- @thanhlv93 please re-open if you can provide additional information. Thanks!
7 remaining items
rchamara commentedon Apr 3, 2021
same issues here
working perfectly in my local emulator when restricted as None in google console
But if I changed it into Android same error got
nizarhaider commentedon Oct 27, 2021
By default your API key has restrictions. Just disable this on the API Dashboard. Worked for me. (Not safe though!)
0wwafa commentedon Jun 1, 2024
how to specify the requesting application?
chore(main): release 3.20.3 (#1697)
chore: Update generation configuration at Sat Jan 4 02:21:14 UTC 2025 (…
chore(main): release 3.20.3 (googleapis#1697)
deps: update dependency org.hamcrest:hamcrest to v3 (googleapis#1697)
chore(main): release 2.20.2 (googleapis#1678)
chore(main): release 0.128.8 (#1697)
chore(main): release 0.128.8 (#1697)
deps: update dependency com.google.cloud:google-cloud-bigquery to v2.…
chore(main): release 1.133.0 (#2206)
deps: update dependency com.google.cloud:google-cloud-bigquery to v2.…
chore(main): release 1.133.0 (#2206)
chore(deps): update dependency com.google.cloud:libraries-bom to v26.…