Error 500 with http request

Hi, after some http get request at my server(hosted on google cloud) i get a error message.
For example with https://ip_address:9443/token/update/V1?value=200 it works fine but with
https://ip_address:9443/token/update/V2?value=200 i get error 500 in my browser.
It would seem that after some requests it will not let me use that pin for a while.
Is that a bug or some sort of security feature?

requests.get(‘https://ip_address:9443/%s/update/V2?value=%s’ % (token, giri0)) this is the code that i use on my raspberry

I usually make a request every 30 seconds