Skip to content

Common problems ​

Each problem lists the symptom, the likely cause, and the fix. Run php artisan nimbus:doctor first.

Routes do not appear ​

Symptom. The routes list is empty, or a route is missing.

Cause. One of these.

  • The route does not start with the routes.prefix of the active application.
  • The route cache is old.
  • The routes snapshot is on and holds old data.
  • You are on another application in the switcher.

Fix.

  1. Check that routes.prefix in config/nimbus.php matches your routes. The default is api.
  2. Run php artisan route:clear.
  3. With snapshot on, click the refresh button next to the search field, or run php artisan nimbus:snapshot:clear.
  4. Check the application switcher at the bottom of the routes list.

The interface does not load ​

Symptom. The page returns a 404, shows a blank screen, or has no styles.

Cause. One of these.

  • APP_ENV is not in allowed_envs, so Nimbus registered no routes.
  • The assets are missing or old.
  • The configuration or views are cached.

Fix.

  1. Add your environment to allowed_envs, only if outsiders cannot reach it.
  2. Publish the assets again with php artisan vendor:publish --tag=nimbus-assets --force.
  3. Run php artisan config:clear and php artisan view:clear.
  4. Open the browser console and look for failed requests.
  5. Clear the browser website cache (for the host where Nimbus runs).

The relay does not work ​

Symptom. Requests hang, time out, or fail before they reach your API.

Cause. One of these.

  • The server is single threaded.
  • APP_URL or base_url points to the wrong host.

Fix.

  1. Follow Single-threaded servers.
  2. Check that APP_URL matches the address in your browser.
  3. Set base_url when your API runs on another host or port.

Authentication problems ​

Symptom. Requests return 401 or 403.

Cause. One of these.

  • No authorization is set, or the token is wrong.
  • auth.guard is not the guard of your API routes.
  • The environment is not the current host, so impersonation is not available.
  • The user to impersonate does not exist.

Fix.

  1. Check auth.guard in config/nimbus.php. The doctor command checks that the guard and its provider exist.
  2. For a bearer token, check that it is valid and has no extra spaces.
  3. For impersonation, switch to the current host and pick an existing user.
  4. See Authentication.

Schema validation errors ​

Symptom. The editor shows errors for a payload that your API accepts.

Cause. One of these.

  • The rules are built at runtime, so Nimbus cannot read them.
  • The rules use a custom rule that Nimbus does not know.
  • The request validates data in a way the form does not show.

Fix.

  1. Check the rules of the form request that the route uses.
  2. Use dot notation such as user.name, and items.*.name for lists.
  3. Compare the form with the rules in your code. The form is built from them.
  4. Report rules that are read wrongly in the GitHub issues.