GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Requests from this Android client application <empty> are blocked · Issue #1697 · googleapis/google-cloud-java

Requests from this Android client application <empty> are blocked #1697

New issue
Copy link
New issue
Copy link
Closed
Closed
Requests from this Android client application <empty> are blocked#1697
Copy link
Assignees
tcoffee-google
Labels
androidapi: translationIssues related to the Cloud Translation API API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: questionRequest for information or clarification. Not an issue.
Milestone
Translate GA

Description

@suntzu93
suntzu93
opened on Mar 5, 2017
Issue body actions

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

Activity

Next
  1. garrettjonesgoogle
    added
    api: translationIssues related to the Cloud Translation API API.
    Status: Beta Blocking
    on Mar 6, 2017
  2. garrettjonesgoogle commented on Mar 10, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on Mar 10, 2017
    Contributor
    More actions

    It looks like you aren't doing auth correctly. Are you setting an API key?

  3. suntzu93 commented on Mar 11, 2017

    @suntzu93
    suntzu93
    on Mar 11, 2017
    Author
    More actions

    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.

  4. garrettjonesgoogle
    removed
    Status: Beta Blocking
    on Apr 3, 2017
  5. lesv
    added
    android
    on Apr 24, 2017
  6. garrettjonesgoogle
    added
    type: questionRequest for information or clarification. Not an issue.
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    on May 31, 2017
  7. garrettjonesgoogle
    assigned
    tcoffee-google
    on May 31, 2017
  8. garrettjonesgoogle
    modified the milestone: Translate GA on Jun 1, 2017
  9. tcoffee-google commented on Jun 5, 2017

    @tcoffee-google
    tcoffee-google
    on Jun 5, 2017
    Contributor
    More actions

    @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!

  10. suntzu93 commented on Jun 5, 2017

    @suntzu93
    suntzu93
    on Jun 5, 2017
    Author
    More actions

    @tcoffee-google yeah , i still this problem and i'm using public key instead private key.

  11. tcoffee-google commented on Jun 5, 2017

    @tcoffee-google
    tcoffee-google
    on Jun 5, 2017
    Contributor
    More actions

    @thanhlv93 it would help us to see the code you were using for authentication that was producing the error message.

  12. tcoffee-google commented on Jun 22, 2017

    @tcoffee-google
    tcoffee-google
    on Jun 22, 2017
    Contributor
    More actions

    Closing this issue due to lack of context --- @thanhlv93 please re-open if you can provide additional information. Thanks!

  13. 7 remaining items

  14. rchamara commented on Apr 3, 2021

    @rchamara
    rchamara
    on Apr 3, 2021
    More actions

    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

    1. add debug key and package name correctly (100% sure) in google console save and wait more than 5 minutes to update
    2. debug key and package name is ok and i double-check with my android code is with getting its programmatically
    3. use com.google.apis:google-api-services-youtube lib (java) for call services from android side
    4. API key also double check and its correct
    E/ServiceRequestTask: mLastError: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
        GET https://www.googleapis.com/youtube/v3/videos?chart=mostPopular&key=***********************&maxResults=10&part=snippet,contentDetails,statistics&regionCode=US
        {
          "code" : 403,
          "errors" : [ {
            "domain" : "global",
            "message" : "Requests from this Android client application <empty> are blocked.",
            "reason" : "forbidden"
          } ],
          "message" : "Requests from this Android client application <empty> are blocked.",
          "status" : "PERMISSION_DENIED"
        }
    E/MainActivity: error: 400
    
  15. nizarhaider commented on Oct 27, 2021

    @nizarhaider
    nizarhaider
    on Oct 27, 2021
    More actions

    By default your API key has restrictions. Just disable this on the API Dashboard. Worked for me. (Not safe though!)

  16. 0wwafa commented on Jun 1, 2024

    @0wwafa
    0wwafa
    on Jun 1, 2024
    More actions

    how to specify the requesting application?

  17. meltsufin
    added a commit that references this issue on Dec 22, 2025

    chore(main): release 3.20.3 (#1697)

    93dee34
  18. chingor13
    added a commit that references this issue on Jan 22, 2026

    chore: Update generation configuration at Sat Jan 4 02:21:14 UTC 2025 (…

    9b63580
  19. suztomo
    added a commit that references this issue on Mar 11, 2026

    chore(main): release 3.20.3 (googleapis#1697)

    4f4d1d2
  20. suztomo
    added 2 commits that reference this issue on Mar 23, 2026

    deps: update dependency org.hamcrest:hamcrest to v3 (googleapis#1697)

    2fc58cc

    chore(main): release 2.20.2 (googleapis#1678)

    4492913
  21. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(main): release 0.128.8 (#1697)

    18fd0de
  22. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(main): release 0.128.8 (#1697)

    942d422
  23. meltsufin
    added 4 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.cloud:google-cloud-bigquery to v2.…

    9e90790

    chore(main): release 1.133.0 (#2206)

    a3b6539

    deps: update dependency com.google.cloud:google-cloud-bigquery to v2.…

    68f20fd

    chore(main): release 1.133.0 (#2206)

    1180af9
  24. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    eab1e52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @tcoffee-google
    tcoffee-google

Labels

androidapi: translationIssues related to the Cloud Translation API API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

    Milestone

    • Translate GA

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.