Skip to content

feat(api): add error_code to path-not-found 404 responses#808

Draft
cmlad wants to merge 1 commit intomainfrom
chris/add-path-does-not-exist-error-code
Draft

feat(api): add error_code to path-not-found 404 responses#808
cmlad wants to merge 1 commit intomainfrom
chris/add-path-does-not-exist-error-code

Conversation

@cmlad
Copy link
Copy Markdown
Contributor

@cmlad cmlad commented Jan 26, 2026

Summary

  • Adds "error_code": "path_does_not_exist" to 404 responses when a path doesn't exist
  • This allows the gateway to distinguish between "path doesn't exist" and "request not found" errors

Needed for fal-ai/isolate-cloud#5627

🤖 Generated with Claude Code

Add "error_code": "path_does_not_exist" to 404 responses for missing
paths. This allows the gateway to distinguish between "path doesn't
exist" and "request not found" when caching /cancel 404 responses.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant