Despite being the account owner (as confirmed in the web interface, under Users), I am consistently receiving 401 Not Authorized
errors when using the API—particularly when accessing endpoints like /v2/accounts
, /v2/accounts/{account_id}/users
, and others.
I am certain I am using the correct developer token, generated from the owner account and with the proper account selected in the UI. I have also tried using the OAuth method, still get the same response.
What I Have Tried / Troubleshooting Steps:
- Confirmed I am logged in as the account owner and have selected “Soch’s Account” at the bottom left of the UI before generating the developer token.
- Generated multiple new developer tokens to rule out expiry or token context errors.
- Successfully called
/v2/me
and confirmed that the token matches the owner account and user IDs. - Attempted to call
/v2/accounts
,/v2/accounts/{account_id}/projects
, and/v2/accounts/{account_id}/users
with valid tokens and correct IDs. - All attempts to access account-level endpoints (such as
/users
) result in a 401 error, even though I am the listed Owner in the web UI. - I have also ensured there are no network or DNS issues—other API endpoints and services work as expected.
Example API response:
RAW RESPONSE: 401
{'code': 401, 'message': 'Not Authorized', 'errors': [{'code': 401, 'status': 401, 'title': 'Not Authorized', 'detail': 'You are not allowed to access that resource'}]}
Request:
- Please help me resolve this issue, as I need to use the API for automation and integrations as the account owner.
- If there is an org/account configuration, role, or permission setting I am missing, kindly advise exactly what to change or how to re-enable full API access for the owner.
- If this is a bug or known limitation with certain plans, please escalate internally and let me know the next steps.