I tried sending a get request to get data from a table in my database. I followed what was given in the Rest API documentation, generated an API token, and used that to authenticate the request, but I got the following error:-
Any help would be greatly appreciated.
Hey there @saachi
Thank you for reaching out! I hope I’ll be able to help you.
Could you double-check the value of
key? It needs to look like this:
JWT XXXXXXXXX, important here is that you need to prefix the
JWT to your key, maybe that’s missing?
If you are trying to authenticate via an API
token then you need to prefix your token value with
Token instead of
Otherwise, could you double check if the table id is correct? Just to make sure, in case you haven’t checked yet.
Let me know if any of the above worked for you!
I tried the ‘Token’ + key and it worked, thanks a lot @Alex.
No worries! Happy to help :).