My bad, it was a problem with the group policies. The user didn’t have the correct rights so it gave me the
{
"detail": "not enough permissions (9)",
"error": 500,
"message": "Internal Server Error"
}
But at first I didn’t see the detail as I was using Comfortclick’s http driver to test it and it only said Internal server error… I needed to add policy=local,reboot,read,write,policy,test,api,rest-api policies too, then it worked.
Thank you!