Hi @dan.woda,
Thanks for coming back to me and sorry for my slow reply. I am still struggling with this.
This the error /users/ endpoint returns:
{
"statusCode": 401,
"error": "Unauthorized",
"message": "Invalid token",
"attributes": {
"error": "Invalid token"
}
}
But I have just hit the /oauth/token endpoint successfully before and used the token it returned. For context I have been following the docs on this Get Management API Access Tokens for Production.
Am I missing scopes or can the /users/ endpoint only be hit from a server? Do I have to use this npm package to complete it?
Thanks again