Skip to main content

API Explorer not generating calls or any JSON

I just generated my first test token and have submitted it on the API Explorer along with my nation's slug. However none of the endpoints are generating any JSON feedback. In my browser Explorer, I see the following error in my console: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data. Can anyone help? Do I need to follow any additional steps to get the API Explorer working? I just want to set up a simple AJAX call within my nation's page template. This is my first time using the API. Any help is really appreciated! Thank you.

Official response from

I tested the API explorer on our end using a known functional API token and I wasn't able to replicate the issue you have described.

Could you reach out to us with the nation where you generated the test token? I would be happy to test out the token you are using on your end to make sure that the tokens are valid.

Share this post

Showing 1 reaction

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.