LayerHopDocsLaunch app (opens in a new tab)

FORBIDDEN

Forbidden: You are signed in, but this resource belongs to another account or needs a role you don't have.

HTTP status Retry
403 no

Where it comes from: Dashboard and admin endpoints; PATCH /v1/splits/{id} with a wrong edit secret.

Causes#

  • Acting on another account's API key, webhook or partner profile.
  • Calling an admin route without admin rights.
  • Splits: the x-edit-token is not this split's edit secret.

How to fix#

  • Sign in with the wallet that owns the resource.
  • Ask LayerHop to approve the partner profile or change limits.
  • Splits: use the secret from the split's edit link (the part after #k=); a lost secret can't be recovered.

Example response#

JSON
{
  "error": {
    "code": "FORBIDDEN",
    "message": "Not your API key",
    "requestId": "0d5e1f6a-3b2c-4d1e-8f9a-7b6c5d4e3f21",
    "docsUrl": "https://docs.layerhop.com/errors/FORBIDDEN"
  }
}

See Error handling & retries for a retry strategy, and the error catalog for every code.

Last updated