How to resolve 401 Api error?
I have just made a new Api and I can't get it to work. It is in the format XXXXX-abc. I have tried with just the XX and also with the other part. I also tried using the entire token. Each time I get back the same error below. How do I fix this issue? I am currently using curl from the Api guide. I am replacing <ACESS_TOKEN> with my given token.
curl -H "Authorization: Bearer <ACCESS_TOKEN>" https://api.youneedabudget.com/v1/budgets
401 Api error:
When you create a token the full token is shown once, the XXXXX-abc tokens shown on the page https://app.youneedabudget.com/settings/developer are just so you can identify a token you might have in order to revoke it.
You'll need to use the full token that is shown only once in your API calls.