Skip to main content
🔒 Preview mode. The first 15 Foundations lessons are free; this one is Pro. Start a 7-day trial to unlock the editor, AI hints and the rest of the curriculum. Card required, cancel any time in Dashboard.
Start 7-day trial →
⚡
← Courses
›
FastAPI Production
›
Module 1 · FastAPI Basics
›
Error handling — proper HTTP semantics
quiz
7 / 105
🇺🇸
EN
▼
↗
Share
⋯
More
+75 XP
📋
Task
📖
Theory
🤖
AI Help
Task
When a user tries to access an order they don't own, which HTTP status code is correct?
🎯 Quiz
Question
When a user tries to access an order they don't own, which HTTP status code is correct?
A
401 Unauthorized — the user's session is invalid and they must log in again to retry
B
403 Forbidden — they are authenticated but not allowed to access this resource
C
404 Not Found — pretend the resource doesn't exist so existence isn't leaked to outsiders
D
400 Bad Request — the request was syntactically wrong and the client should reformat it
Submit answer
💬 Discussion
Be the first to ask a question or share a tip.
Sign in
to join the discussion. Reading is free.
Loading discussion…