errors accesing the api

Hi,

I’m having trouble using the API, I’ve acquired the developers API token in https://kc.kobotoolbox.org/$USER/api-token and tried to use that to list forms using curl such as

curl -X GET https://kc.kobotoolbox.org/api/v1/forms -H “Authorization: Token $TOKEN”

But I get a 500 error. Can anyone help me?

Thanks!