Forums

Internal Server Error

I have an appweb that fetches information from players through an API. On my local server it works normally but on the server pythonAnyWhere it is giving error.

enter image description here

my code

enter image description here enter image description here enter image description here

how it works on my local server

enter image description here

You're not getting json back from the service that you're trying to access. Look at the response that you're getting back to determine why it's not json. I'm guessing that you're bumping into this: http://help.pythonanywhere.com/pages/403ForbiddenError/