Skip to main content

Troubleshoot Events

Start with the HTTP status, the site address, the exact event name, and APP_SLUG on app routes.

Subscription and API errors​

SymptomLikely causeWhat to do
403 on subscribe, unsubscribe, or app subscribersThe caller doesn't have cloud accessUse an API key generated by an organization owner or admin
400 Invalid event typeTypo or unsupported nameCopy a name from GET /api/cloud/events/
400 on subscribeUnknown function_id, or the function is already subscribedCheck the function id; unsubscribe before subscribing again
Error on unsubscribeThe function wasn't subscribedCheck the app's subscribers with GET /api/apps/APP_SLUG/events/EVENT_NAME/
404 on the app subscribers routeWrong app slugCheck the slug and site address
Function missing from an app's subscribersThe function belongs to another appCheck the subscribers of the function's own app

Delivery​

SymptomLikely causeWhat to do
No function run after a record changeThe function is in a different app from the table, or its filter conditions skipped the runSubscribe a function in the table's app; check the run history for skipped runs
PRE_USER_CREATE changes are ignoredThe function returned the wrong shape, or took longer than 30 secondsReturn {"result": {...}} with the fields to change, and keep the function fast
Creating a user failsA PRE_USER_CREATE function failed or timed outFix the function, or unsubscribe it

Other errors​

SymptomCheck
401The credential is missing, expired, or from another site
404 on /events/Use /api/cloud/events/, not an app path
5xxNote the time and request, then contact support without including tokens or payloads