# Checking Input by Hand

An API can't trust what a request sends, so before it saves anything it checks each field for being there, having the right type, staying in its range and being an allowed value, and it collects every problem to send back at once.

![Cheat sheet: Checking Input by Hand](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/e05802d389e645d0b06fb916f2243706.webp)

- Category: FastAPI
- Level: Apprentice
- Tags: 422 Unprocessable Content, Client-Side Validation, fastapi, python, Request Body (fastapi), Server-Side Validation
- Author: Gregor Dzierzon
- Updated: November 23, 2026

Source: https://www.ask-codey.com/cheat-sheets/fastapi-validation-by-hand-cheat-sheet
