🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@koladebashir
Copy link

Fix: Return 404 for non-existent items instead of null response

Previously, valid ID formats with non-existent items returned 200 OK with null values, creating ambiguous API responses. Now properly returns 404 Not Found when items don't exist in the database.

Fix: Return 404 for non-existent items instead of null response

Previously, valid ID formats with non-existent items returned 200 OK 
with null values, creating ambiguous API responses. Now properly returns 
404 Not Found when items don't exist in the database.
@github-actions github-actions bot added the docs Documentation about how to use FastAPI label Nov 22, 2025
@github-actions
Copy link
Contributor

📝 Docs preview

Last commit e5f643c at: https://0b6b9b2f.fastapitiangolo.pages.dev

@YuriiMotov YuriiMotov marked this pull request as draft November 24, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation about how to use FastAPI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant