Skip to main content
The X-BLUDIA-API-KEY header wasn’t sent. Check the header name and that your env variable is loaded (frontend env vars often need a prefix such as VITE_ or NEXT_PUBLIC_).
The key is wrong or incomplete. Keys are shown once; if you didn’t copy all of it, create a new one. Make sure there are no spaces or quotes around it.
Create a new key in API → API Keys, or extend the expiry of the existing one.
Add your exact origin (scheme, host, port), for example http://localhost:5173, to the key’s allowed origins. See CORS.
You’re using an end_users key without a signed-in user. Log in first and send Authorization: Bearer <access_token>. For server scripts, use a platform key.
  • Access token expired (15 min default): call /auth/{guard}/refresh and retry.
  • Refresh token reused: refresh tokens rotate; store the new one every time.
  • Wrong project or guard: tokens only work with keys from the same project.
The user’s roles lack the permission for this action on the collection. Grant it in Authentication → Roles, and check the user actually has the role.
Row-level security is hiding them. With no allow policy, end users only see records they created, so records created in the dashboard or with a platform key aren’t visible to them. Add an allow policy. See Row-level security.
Use the slug, not the display name or ID: /collections/order_items/records, /auth/users/login. Slugs are case-sensitive.
Use exact field names (not labels) as JSON keys when writing. Unknown keys are ignored silently. Password fields are never returned.
Someone changed the record after you loaded it. Reload, re-apply the change, and send the new version.
An account with that login value exists. Offer “log in” or “forgot password”.
The message names the field and rule. Check required fields, formats, select options, and number ranges. See Validation.
Slow down and retry with backoff. Use larger pages and with to reduce requests, or raise the key’s limit. See Rate limits.
A before* hook may be rejecting it. Check Hooks → Executions for the error and logs. See Logs & debugging.
Check the SMTP channel settings (host, port, encryption, credentials), that the sender domain is verified with your provider, the template name used in the hook, and the spam folder.

Still stuck?

Email support@bludia.com with the endpoint, status code, response body, and request_id if present. Never include API keys or passwords.