This can happen when the call to the API doesn’t include an authorization header.
Example
An unauthorized call has no authorization header:
-H "Bearer tk_IdQcD8F8fgKoxC3HbZYXRCgsuoXpNOTAKEY0eBc"
An authorized call adds an authorization header like so:
-H "Authorization: Bearer tk_IdQcD8F8fgKoxC3HbZYXRCgsuoXpNOTAKEY0eBc"