401 with API or VS Code

I was having this issue as well.

I could not get the logging to work. I tried going to platform → logging and adding a file target with a level of debug but no file was ever generated.

Instead I launched the server from a console and read very fast.

The problem for me was that the token I created had no expiration date; I saw a warning flash by that authentication failed because token lifespan couldn’t be verified.

Creating a new token and setting a year lifespan fixed the problem for me.

1 Like