Platform

Platform overview How it works Authorization testing Evidence & reports Private scanning Integrations

Solutions

Security agencies Product teams Regulated industries Partner programme

Learn

Blog Knowledge hub Compare

Resources

Pricing Documentation Help centre FAQ Security & data What we haven’t proved

Company

About Contact Careers Sign in to the platform Start a $199 pilot →

Home / Help centre / Troubleshooting

Troubleshooting

Why does my API call return a permission error?

Quick answer

Every Cyberlop route checks one named permission, and a Bearer token carries only what its owner holds. A permission error means the owner's role lacks that permission, or the item sits outside the owner's group scope. Find the permission in the API Reference, then ask an admin.

Why this happens

Each route in Cyberlop enforces the permission listed beside it. A Bearer API token is not a master key, because it acts as the person who owns it, with that person's role and group scope. Refusal follows when the role lacks the permission.

How to fix it

  1. Open API Reference in the sidebar and type the path you called into the filter box.
  2. Read the permission chip at the right of the row. It follows the pattern area:action, for example target:create or scan:run.
  3. Work out whose token you used, since a token made for a teammate runs as that teammate and not as you.
  4. Ask an admin to open that user's role and check for the permission. If a built-in role is too narrow, a custom role can add it. Read how to create a custom role.
  5. Check the scope as well. A token carries its owner's group scope, so a profile or target outside those groups can fail even when the permission is right.
  6. Repeat the call after the change.

Login and health are public. A few other routes ask only that you be signed in. Those cannot fail for this reason.

Still not working?

Applying least privilege is the reason for this check, so grant only what the job needs. If you are sure the role is right, send us the route and the time of the call through the contact page. The API tokens and permissions tutorial has more.

Full tutorial

Cyberlop API tokens and permissions: how to issue and limit them

Step-by-step, with annotated screenshots.

Updated · Back to the help centre

Error still showing?

Send us the exact message and the page you were on. We will reply with the fix.