I just created a new token. However, when I do:
curl https://<email>.zendesk.com/api/v2/users.json \ -H "Authorization: Bearer <token>"
I get:
< content-length: 134 < www-authenticate: Bearer realm=Zendesk::OAuth Bearer Token Authentication < error: invalid_token < error_description: The access token provided is expired, revoked, malformed or invalid for other reasons.
Any thoughts why and how to resolve?