500 Error with discobot on API call

i’m having an issue with the API, when i’m trying to get the categories of my forum. When i curl the api with my user, everything is fine, but i’m getting an 500 with the system and discobot user. What i’m missing here, can anybody help me?

EDIT: A POST request is working just fine with the same api key