---
title: 2005: Access denied | API Docs
description: You do not have permission to access this resource.
---

You do not have permission to access this resource. This is an HTTP 403 error indicating your credentials are valid but you are not authorized to perform this action.

## Troubleshooting

- Verify the resource (chat, attachment, subscription) belongs to your partner account.
- Confirm the API key you’re using has access to the phone number involved in the request — see [Phone number permission denied (2006)](/error/codes/2xxx/2006/index.md) if the resource is a phone line.
- If you rotated keys, make sure the new key has the same scope as the old one.

## Related

- [Authentication](/getting-started/authentication/index.md)
- [Debugging](/guides/platform/debugging/index.md)
