Self hosted : API calls resulting only in 401 'invalid token'

I can’t figure out what I’m doing wrong — yesterday, FlutterFlow was able to GET data from my tables (using my API key). Today, on a different project, nada.

I’ve been testing various iterations at reqbin.com, as well, and I’m getting 401: invalid token, over and over, regardless of how I’m inputting the key (I’ve also now generated a new one, still no luck).

Having restarted the server, just in case, I’m at a total loss. Can anyone help me figure out how to figure out what I’m missing?

Please ensure you are using xc-token header as indicated in our docs.

Also ensure that there are no typos when copy pasting API token.

1 Like

Well, I thought I had tried that at flutterflow, but evidently I hadn’t … as it just worked.

And it appears that reqbin was autogenerating auth headers that weren’t working.

Thanks for pointing me back to the documentation I swear I looked at 100 times already! Sometimes it takes that 101st perusal. :sweat_smile:

1 Like