java - Accessing Books API through AppEngine fails with error code 400 -
i'm getting following error when accessing google books apis google appengine application.
api key server application used.
but if run application locally in eclipse there no problem.
{ "code" : 403, "errors" : [ { "domain" : "global", "message" : "cannot determine user location geographically restricted operation.", "reason" : "unknownlocation" } ], "message" : "cannot determine user location geographically restricted operation." }
there not enough information on error scenario. appreciated. thanks.
well, may because ip cannot used locate user. makes sense looking @ error message , googling here:
https://productforums.google.com/forum/#!topic/books-api/88ml3yipvlw
try adding &country=gb end of request, or whichever 2 letter represent country wanting search from. (more here: http://en.wikipedia.org/wiki/iso_3166-1_alpha-2)
this answer answer in given link, appears work , took looking for. hope helps.
Comments
Post a Comment