403 Access Not Configured - All solutions exhausted.

11,360 views
Skip to first unread message

Andy Sly

unread,
Sep 13, 2012, 1:48:50 PM9/13/12
to google-tra...@googlegroups.com
Like many others, I'm getting the 403 "Access Not Configured" error when I try to use the Google Translate API.

I've tried all the following workarounds in the various threads from this group:

1. I confirmed that billing is enabled
2. I generated a new key.
3. I created a completely new key.
4. I added my server's IP address to the allowed IPs whitelist.
5. I'm not exceeding my quota (in fact, I've used 0%).

Still no luck. What else can I do?

Andy Sly

unread,
Sep 19, 2012, 12:36:05 PM9/19/12
to google-tra...@googlegroups.com
As a last-ditch effort, I tried disabling and re-enabling billing, but there was no effect. Still the exact same error:

domain: usageLimits
reason: accessNotConfigured
message: Access Not Configured
code: 403

Additionally, every time I generate a new key, it's only active for 1 day. I just generated a new key, and it's status is: 

Active until Sep 20, 2012 9:32 AM

What gives?

Ani Varghese

unread,
Oct 3, 2012, 2:00:36 AM10/3/12
to google-tra...@googlegroups.com
Hi I have a similar problem with Google translate API . showing the error code 403 Access not configured . I  have tried Google translate with the sample code provided by Google and for API pricing is enabled.

translateText({
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
],
"code": 403,
"message": "Access Not Configured"
}
}
);

Please help to find a solution .
Thanks

OnlineWebShops

unread,
Oct 9, 2012, 4:47:52 AM10/9/12
to google-tra...@googlegroups.com
Hi there,
Long shot ::
Even if you have a dedicated IP on your hosting account, sometimes the IP you take as your site's IP is not the IP Google sees.
Often the external IP is the one of the hosting providers main IP (If you are on a shared box) or of a router at the location facility.
If you have to separate hosts, try ping one from the other to really get your IP.

Example in php - put a copy of both of these on each host and call http://firstdomain.com/get_ip.php?echoer=seconddomain.com ::

// new file - save as get_ip.php
$post_string = 'ping';
$echoer = $_GET['echoer'];
$x =curl_init('http://'.$echoer.'/ping.php');
curl_setopt($x, CURLOPT_HEADER, 0);
curl_setopt($x, CURLOPT_POST, 1);
curl_setopt($x, CURLOPT_POSTFIELDS,$post_string);
curl_setopt($x, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($x, CURLOPT_PORT, 80);
curl_setopt($x, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($x, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($x, CURLOPT_TIMEOUT, 30);
curl_setopt($x, CURLOPT_BUFFERSIZE, 64000);
curl_setopt($x, CURLOPT_VERBOSE, 1);
$ip = curl_exec($x);
$headers = curl_getinfo($x);
curl_close($x);
echo 'The originating IP: '.$ip;
echo '<br>';
print_r($headers);
// end of file

// new file - save as ping.php
echo $_SERVER['REMOTE_ADDR'];
// end of file

Might help...

Parondo Divination

unread,
Oct 12, 2012, 7:22:06 AM10/12/12
to google-tra...@googlegroups.com
I have the same problem accessNotConfigured but I am on azure platform and so I don't have a dedicated IP, so I took a browser key and gave the site http adress; still, can someone help?

João Martins

unread,
Oct 24, 2012, 6:55:25 AM10/24/12
to google-tra...@googlegroups.com
Have you tried using a key with any referrer allowed?

Can you add the following argument to your requests: "trace=token:ACwti_cyKdlcp0rBkTR_LrlE0juNBxOJefDdWZet41dm3dwLq_cVIJep_AirnQ3ksLkSIv7F64FsTnnWIlDmx79_p05Z28U6aw" and do one or two test requests?

I would also need your project IDs to be able to relate the requests to each of you.

John O'Gara

unread,
Nov 9, 2012, 11:48:37 AM11/9/12
to google-tra...@googlegroups.com
I'm seeing the same error, I migrated my app last week and updated the api key to include the new IP address, everything worked fine for a couple of days and now I'm getting the access not configured message. I've tried creating a new API key but to no avail. My project number is 187291853995 

John O'Gara

unread,
Nov 11, 2012, 10:43:34 AM11/11/12
to google-tra...@googlegroups.com
I finally solved this, turns out I needed to register my server's ipV6 address.

Xin Lin

unread,
Apr 15, 2013, 9:47:12 PM4/15/13
to google-tra...@googlegroups.com
but how do I register my server's ipV6 address?

Michael Patzer

unread,
May 31, 2013, 12:57:30 PM5/31/13
to google-tra...@googlegroups.com
I'm seeing this issue as well (5/31/13). My project ID is: 145968764290

João Martins

unread,
Jun 4, 2013, 3:45:58 AM6/4/13
to google-tra...@googlegroups.com
Can you add the 'trace=token:ACwti_eaRBppN61BfurFrhunvwCLmR1AiH0YZSbqNUT8B4lXH3G_zKcFmPeVt_OUyBF_t8TYHftIrVc7kiUY9PpKdjnLoiBF2MVBv1HL97KQ7I1llftxCU0' argument to the body of your request?

Miut Daniel

unread,
Jul 19, 2013, 4:42:03 AM7/19/13
to google-tra...@googlegroups.com
Same 403 error.
 Project Number 300403649718

Elad Hackim

unread,
Jul 30, 2013, 3:24:06 PM7/30/13
to google-tra...@googlegroups.com
same here
403

project number: 

439911089403

Richard Shaw

unread,
Aug 2, 2013, 1:16:20 PM8/2/13
to google-tra...@googlegroups.com
Hi and the same recurring 403 errors here:


project number: 790253496904

Best,
R

Elad Hackim

unread,
Aug 4, 2013, 12:24:57 PM8/4/13
to google-tra...@googlegroups.com
same here.
Project number: 439911089403

Dan Ciruli

unread,
Aug 6, 2013, 11:43:08 AM8/6/13
to google-tra...@googlegroups.com
Elad, Richard --

I will see if someone can investigate what's happening.

Michał Podbielski

unread,
Aug 7, 2013, 6:12:23 AM8/7/13
to google-tra...@googlegroups.com
Another case. Projct number: 790183110676
In my case everything was working fine for years and sudennly it stops without any changes on our side. 

Does any support exists here?...

Dan Ciruli

unread,
Aug 7, 2013, 12:39:25 PM8/7/13
to google-tra...@googlegroups.com
We've reproduced this in house and are troubleshooting now.

We'll post with updates when we have more info.

Dan Ciruli

unread,
Aug 7, 2013, 5:45:19 PM8/7/13
to google-tra...@googlegroups.com
Internally we've found that there is a delay in the enablement of billing -- that is, from the time you enable billing through the APIs Console to the time when the backend systems are notified and will permit calls.

Does anyone on this thread not have their problem solved by waiting? 

Note: according to engineering, the wait time could vary anywhere between a few minutes and an hour. (An hour? Yep, that's what I'm told -- but I'm also told that when the glorious new Cloud Console is released soon, this will be a nearly instantaneous).

Michał Podbielski

unread,
Aug 7, 2013, 6:10:24 PM8/7/13
to google-tra...@googlegroups.com
It has nothing to do with billing in my case. I was charged 3rd of this month and in reports I see that there was no translation since 25th of last month.

I'm still getting no translations...

Dan Ciruli

unread,
Aug 8, 2013, 11:53:05 AM8/8/13
to google-tra...@googlegroups.com
Michal -

Can you run a trace for me? Add this to an HTTP call: 

trace=token:ACwti_cvuGn9Tuy0y9vWy9J8qZs18SmT0jnLv_DSvu4sbR48htEiIRz0wXRXINQ8avmYxdM53_WhK78rGd7G33gaChbVYH2yFw

For example:

https://www.googleapis.com/language/translate/v2?key=[Insert your key]&source=en&target=es&q=Hello%20world&trace=token:ACwti_cvuGn9Tuy0y9vWy9J8qZs18SmT0jnLv_DSvu4sbR48htEiIRz0wXRXINQ8avmYxdM53_WhK78rGd7G33gaChbVYH2yFw


Michał Podbielski

unread,
Aug 9, 2013, 5:13:35 AM8/9/13
to google-tra...@googlegroups.com
Just did it and send several requests for booth - old key (used since Dec 18, 2010 5:30 AM) and new key (created Aug 7, 2013 2:13 AM trying to solve the issue).
Hope you can help...

Dan Ciruli

unread,
Aug 9, 2013, 11:15:41 AM8/9/13
to google-tra...@googlegroups.com
Got 'em. We'll look into this for you.

Given that there may be some privacy issues (IP addresses, etc.,) I may contact you directly via email.

Dan Ciruli

unread,
Aug 9, 2013, 7:40:33 PM8/9/13
to google-tra...@googlegroups.com
Michal -

I have some information for you.

Please email me directly (at my last name @google.com).


Michał Podbielski

unread,
Aug 10, 2013, 5:12:10 AM8/10/13
to google-tra...@googlegroups.com
I started working again. So it was on your side. Thanks for help :)

Elad Hackim

unread,
Aug 10, 2013, 8:34:19 AM8/10/13
to google-tra...@googlegroups.com
Dan,
I'm still receiving an error java.lang.Exception: [google-api-translate-java] Error retrieving translation.
I'm using this api in an android app.

Do you have any info that can help me here?

Dan Ciruli

unread,
Aug 13, 2013, 1:05:04 PM8/13/13
to google-tra...@googlegroups.com
Elad - try appending a trace key to your request:
trace=token:ACwti_c3qGTi9wf6gMdimtdu3H16EGhY_dojfn9q6qFVx72d_V_MQ_fWTas6FqYEl4icSHMwd9hxOVy6ceCQX3NtYVNh2ncTiA

For example:
https://www.googleapis.com/language/translate/v2?key=[Insert your key]&source=en&target=es&q=Hello%20world&trace=token:ACwti_c3qGTi9wf6gMdimtdu3H16EGhY_dojfn9q6qFVx72d_V_MQ_fWTas6FqYEl4icSHMwd9hxOVy6ceCQX3NtYVNh2ncTiA

One will be enough.

Elad Hackim

unread,
Aug 13, 2013, 1:13:02 PM8/13/13
to google-tra...@googlegroups.com
ok I have tried it. got the same result.

com.google.api.GoogleAPIException: java.lang.Exception: [google-api-translate-java] Error retrieving translation.

Dan Ciruli

unread,
Aug 13, 2013, 4:09:15 PM8/13/13
to google-tra...@googlegroups.com
Elad -

That trace did not go through. As far as I can tell, your request is never making it to Google at all. If you have access to a stack trace, try to determine where it is failing (I am not an Android developer).

Dan Ciruli

unread,
Aug 13, 2013, 4:11:25 PM8/13/13
to google-tra...@googlegroups.com
Michał -

The problem was that your key is restricted to only work from your IP; for some reason, you are now sending your IPv6 IP instead of the IPv4.

We updated your account to reflect the IPv6.

Anyone who finds this thread in the future: if your project is configured to only work from your IP and suddenly stops working, try to determine if you are still sending the IPv4 version of your IP.

Matt Mayer

unread,
Sep 18, 2013, 9:22:08 PM9/18/13
to google-tra...@googlegroups.com
For me, adding a fake Referer header to the requests was enough to get it working. I was using a networking library that didn't send any referer by default.

ptcsfdcs...@gmail.com

unread,
Sep 24, 2013, 9:01:13 AM9/24/13
to google-tra...@googlegroups.com
The issue seems to be with Referer .. remove referer from API configuration at your gmail account and try it again ...  

Adam Singer

unread,
Oct 7, 2013, 11:25:42 PM10/7/13
to google-tra...@googlegroups.com
I just ran into this example issue using the javascript sample from github. https://github.com/GoogleCloudPlatform/storage-getting-started-javascript I assumed that when creating a new "Simple API Access" that I needed to add the host who would be accessing. In my case it was http://127.0.0.1:8080 and http://localhost:8080 (dont ask why I do both, ran into bugs in the past when using one or the other...). So after removing all "Referer" from the "Key for browser apps (with referers)" section of the API key used for the sample everything worked. I feel the documentation could of been a little more verbose on the storage sample, maybe I'll create a github pr tonight. 
Message has been deleted

Miguel Teves

unread,
Oct 15, 2013, 10:46:12 AM10/15/13
to google-tra...@googlegroups.com
Hey
I'm having the same problem. I need to translate from an android app, so no IP restrictions.
My project number is 60526844276.

Thanks in advance for your help.

salem...@gmail.com

unread,
Nov 1, 2013, 6:37:28 PM11/1/13
to google-tra...@googlegroups.com
I have the same problem. How can I receive the tracing token to debug this?

salem...@gmail.com

unread,
Nov 1, 2013, 6:38:34 PM11/1/13
to google-tra...@googlegroups.com
My project number: 498084357650

adonfl...@gmail.com

unread,
Nov 5, 2013, 11:12:08 AM11/5/13
to google-tra...@googlegroups.com
Hi,
 I'm still getting the '403 dailyLimitExceeded error' but I'm under the limits ! I need to use the translate API .

Tried and got this reccuring issue for two different projects .

project Numbers: 822931031338 and 953487372933.

Can anyone help me?
Regards,

Michał Podbielski

unread,
Nov 25, 2013, 4:37:25 AM11/25/13
to google-tra...@googlegroups.com
AGAIN TRANSLATIONS ARE NOT WORKING!!!

My server IP changed, I set correct IP in "Key for server apps (with IP locking)" and it is not working. 
I think it is same issue - I'm setting ipv4 and you are expecting ipv6... So what value I should set there now? How can I check how my IPv4 looks in IPv6???

Michał Podbielski

unread,
Nov 26, 2013, 3:20:04 PM11/26/13
to google-tra...@googlegroups.com
ANY HELP???

Michał Podbielski

unread,
Nov 28, 2013, 6:23:05 PM11/28/13
to google-tra...@googlegroups.com
Is there any support here?????

Michał Podbielski

unread,
Nov 29, 2013, 7:24:30 PM11/29/13
to google-tra...@googlegroups.com
Calling again... I have no translaitons - google have no money... And nobody cares... SUPPORT PLEASE!!!!!!!!!

Michał Podbielski

unread,
Dec 3, 2013, 3:33:42 PM12/3/13
to google-tra...@googlegroups.com
Still help needed... Support please.

Michał Podbielski

unread,
Dec 15, 2013, 4:27:14 PM12/15/13
to google-tra...@googlegroups.com
Still no support... Help please.

Pouria A

unread,
Jan 12, 2014, 10:21:11 PM1/12/14
to google-tra...@googlegroups.com
Having the same problem. I've included my bundle identifier, requested a new key, enabled billing. Still no luck. Looking forward to a solution. 

Milan Marchfeld

unread,
Jan 16, 2014, 2:58:51 PM1/16/14
to google-tra...@googlegroups.com
same problem, just sped few hours with no luck, is microsoft translate to solution to this problem?

Stian

unread,
Jan 28, 2014, 4:48:52 AM1/28/14
to google-tra...@googlegroups.com
Hi Dan,

I paid 15 hours ago, but I still get the error message.

My project number is: 735170598163

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
   }
  ],
  "code": 403,
  "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
 }
}

Jason Woosley

unread,
Jan 31, 2014, 8:33:33 PM1/31/14
to google-tra...@googlegroups.com
Having the same issue here.  
 - Billing is configured
 - Translate API is 'on'
 - API key generated against public IPv4

I tried to add my IPv6 address to the whitelist but it was not accepted as valid.

Project ID: 1027245813887


Thanks in advance for any assistance.

Jason

Jason Woosley

unread,
Jan 31, 2014, 9:22:49 PM1/31/14
to google-tra...@googlegroups.com
Got mine to work.  Went back to the cloud console and selected to revert to the old interface -- that allowed me to enter my IPv6.  This didn't work, so I deleted the IP restrictions entirely and now it's working.

Alex

unread,
Feb 5, 2014, 10:54:37 PM2/5/14
to google-tra...@googlegroups.com
Hi, 
I am having the same issue.  My code is being hosted by Amazon EC2 and I am using the PHP search script.  When I log in to the developer console and I am able to see all the request listed under the error column. 

Project Number: 737266513299
Alex

Amit Siddhpura

unread,
Feb 15, 2014, 6:21:56 AM2/15/14
to google-tra...@googlegroups.com
I am having the same issue :( 

Don't know for PAID service google is not providing well docs and help

fuck of translate api

i have to go with Microsoft API 

shame on you google translate :(

even hacked google translate api is working fine better than PAID service 


Sean Dunn

unread,
Feb 18, 2014, 3:23:07 AM2/18/14
to google-tra...@googlegroups.com
The worked for me. Go to  code.google.com/apis/console and then revert to the old interface when they prompt you with the option. Then edit allowed IPs and include your ipv6 address. Worked perfectly.
Message has been deleted

Tapaswini Sabat

unread,
Feb 20, 2014, 12:49:42 AM2/20/14
to google-tra...@googlegroups.com
Hi All,
I'am getting the following error while uploading a video in to youtube through PHP

A service error occurred: Error calling GET https://www.googleapis.com/youtube/v3/channels?part=contentDetails&mine=true: (403) Access Not Configured. Please use Google Developers Console to activate the API for your project.

The attachment contains my sample code. In the application i have used my client id and secret key.

Can any body suggest where I'am missing ? 

Thanks
Tapaswini
my_uploads.php

Sean Dunn

unread,
Feb 24, 2014, 1:24:39 AM2/24/14
to google-tra...@googlegroups.com
I changed my account to both ipv4 and ipv6 but its still unreliable. can i get a trace token or something so i can figure this out?

Translate API team

unread,
Feb 27, 2014, 3:25:46 PM2/27/14
to google-tra...@googlegroups.com
Hi Sean,

Could you please provide your project number and then append the following trace token to your request so we can try to delve into what might be happening?

trace=token:ACwti_ecAGKgPOATkBmdnUBvlWjjQ_U4MGFNteGsbqUGBaMGZ8t5hf0GmAMDD3E3I3UPcssxbVbgXhfddvUIzfd5rL0pHnnYpg

For example:

https://www.googleapis.com/language/translate/v2?key=[INSERT YOUR KEY]&source=en&target=es&q=Hello%20world&trace=token:ACwti_ecAGKgPOATkBmdnUBvlWjjQ_U4MGFNteGsbqUGBaMGZ8t5hf0GmAMDD3E3I3UPcssxbVbgXhfddvUIzfd5rL0pHnnYpg

Abdelhak Mesbah

unread,
Mar 5, 2014, 6:17:18 PM3/5/14
to google-tra...@googlegroups.com
I have the same problem :
That return this ==> 
Array( [error] => Array ( [errors] => Array ( [0] => Array ( [domain] => usageLimits [reason] => accessNotConfigured [message] => Access Not Configured. Please use Google Developers Console to activate the API for your project. ) ) [code] => 403 [message] => Access Not Configured. Please use Google Developers Console to activate the API for your project. ) [_create_at] => 1394060757){"checkPage":{"status":"valid","desktop_score":0,"mobile_score":0}}

I used my ipv4. And it doesn't work.

My Project Number: 433002435034

Bernardo de Tomas

unread,
Mar 7, 2014, 1:24:51 PM3/7/14
to google-tra...@googlegroups.com
Same problem here

Just started with the api... and get the following error... 

Billing OK

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
   }
  ],
  "code": 403,
  "message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
 }
}



Project Number    267508187082
IPv4

Thomas J

unread,
Mar 19, 2014, 7:13:01 AM3/19/14
to google-tra...@googlegroups.com
Hi
Same problem here. I enabled billing, paid 10$ to be sure, turned on the API in the console, etc
project number 782155651447

VeeraSatish Gunnam

unread,
Dec 8, 2014, 4:13:47 AM12/8/14
to google-tra...@googlegroups.com
I have the same problem.

how do I register my server's ipV6 address?

Please help me, Thanks in Advance.


_______________________________________________________________________________
Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.

_______________________________________________________________________________


On Tuesday, April 16, 2013 7:17:12 AM UTC+5:30, Xin Lin wrote:
but how do I register my server's ipV6 address?

9724c...@gmail.com

unread,
Mar 2, 2015, 12:25:58 PM3/2/15
to google-tra...@googlegroups.com
Dear Translate API team,  I just subscribed to this google translate service in order to link wordfast to google translate and am getting this same code:403 message There is a per-IP or per-reference restriction configured on your API keyu and the request does not match these restrictions.  Please use the Google Developers condole .... etc.  I have updated my API key, checked my billing details and done everything I thought possible.  I already sent almost 2 days on this.  Is a solution available somewhere.  I am also having a difficult time getting any support whatsoever.  My project number is: api-project-49462388054  Is there anyone out there to help me?  Thank you very much
Reply all
Reply to author
Forward
0 new messages