Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieved a invalid response. Response code: '403' #176

Open
gracefullight opened this issue Feb 14, 2017 · 2 comments
Open

Retrieved a invalid response. Response code: '403' #176

gracefullight opened this issue Feb 14, 2017 · 2 comments

Comments

@gracefullight
Copy link

Hi NicklasW

When I tested it on localhost it worked fine,
but when I upload it to AWS, I get a 403 error.


object(NicklasW\PkmGoApi\Handlers\RequestHandler\Exceptions\ResponseException)#337 (7) {
["message":protected]=>
string(50) "Retrieved a invalid response. Response code: '403'"
["string":"Exception":private]=>
string(0) ""
["code":protected]=>
int(0)
["file":protected]=>

Is there a way to resolve this error?
just change to nodejs api?

@NicklasWallgren
Copy link
Owner

It's probably due to AWS IP ban, try using a proxy.

@gracefullight
Copy link
Author

gracefullight commented Feb 14, 2017

thanks for your advice

I solved it with proxy example.

this site helps others.
free proxy list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants