Access Denied

The request was valid, but you do not have permission to access the requested resource. This error occurs when the resource exists but you lack sufficient permissions to access it.

Cause

You are attempting to access or modify a resource that either:

  • Does not belong to your account, or
  • Belongs to your account but your API key or user role does not have the required permissions.

Suggested Action

Ensure the resource is associated with your account and that your API key or user role has the required access level.

Common Scenarios

  • Accessing a dataset, user, or lead that belongs to another account
  • Attempting to edit or delete a resource without sufficient permissions
  • Role-based or permission-based access restrictions within the same account
  • Cross-account access restrictions

Response Example

{
  "type": "https://developers.leadboxer.com/docs/access-denied",
  "title": "Access Denied",
  "status": 403,
  "detail": "You do not have permission to access this resource",
  "instance": "/v1/datasets/12345"
}

HTTP Status

403 Forbidden

Resolution

  1. Verify the resource belongs to your account
  2. Check user role and permission scopes
  3. Contact your account administrator to request access