My Python Script on my Raspberry is running since weeks without any issue. But since yesterday, i got always an HTTP 500 Error. I tried to make an exception for this but without luck.
Is this a Server-problem or is there something wrong with the key?
I call the data every 10min - its running 2-3x an then i got the 500 error and my script crashes.
When i use the exception, i did not get data because it says, the key is wrong.
So what con i do for this problem.
Thanks for your help
This is an internal error. This does not relate to the availability our service.
You need to check next things:
A Permissions Error.
In most cases, a 500 Internal Server Error is due to an incorrect permission on one or more files or folders. In most of those cases, an incorrect permission on a PHP and CGI script is to blame. These should usually be set at 0775 (-rwxr-xr-x).
Also it could be a coding error in .htaccess. While not as common, be sure to check that your site’s .htaccess file is properly structured.