inference bureau
← Changelog
UpdatedApps

Odd input to an app's routes no longer sets off failure alerts

When a page or route throws because the API refused what the app sent it, such as "There's no model named __proto__." or an upload token that doesn't exist, the request still shows in Logs as failed, now with a note that the API refused it, and it's left out of failure emails and incidents. A route can answer those with the API's own 4xx: catch the SDK's ApiError and return e.toResponse().

More in Alerts.