On my Amazon EC2 instance:
~$ curl -XGET https://www.googleapis.com/books/v1/volumes?q=Mark+Twain
{
"error": {
"errors": [
{
"domain": "global",
"reason": "unknownLocation",
"message": "Cannot determine user location."
}
],
"code": 503,
"message": "Cannot determine user location."
}
}
The same request from my laptop yields the proper response -- book data in JSON format.
What am I doing wrong? Is it Amazon's network configuration? Is it Google? Is it me? It would help just to know if EC2 users in other availability zones see the same error for this request.