{
    "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request",
    "locale": "en",
    "title": "400 Bad Request: Knowledge hub | DeLaParra Services",
    "description": "The server could not understand the request because of invalid syntax.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/400-bad-request",
        "nl": "https://delaparra-services.nl/nl/kennisbank/400-bad-request"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/400-bad-request.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/400-bad-request.md",
        "json": "https://delaparra-services.nl/knowledge-hub/400-bad-request.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/400-bad-request.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/400-bad-request.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request.csv",
            "encodingFormat": "text/csv",
            "name": "400-bad-request.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request.json",
            "encodingFormat": "application/json",
            "name": "400-bad-request.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request.md",
            "encodingFormat": "text/markdown",
            "name": "400-bad-request.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request.pdf",
            "encodingFormat": "application/pdf",
            "name": "400-bad-request.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request.zip",
            "encodingFormat": "application/zip",
            "name": "400-bad-request.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request/skills.zip",
            "encodingFormat": "application/zip",
            "name": "400-bad-request-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [400 Bad Request](<https://delaparra-services.nl/knowledge-hub/400-bad-request>)\n\n  \n\nCategory: HTTP status codes \n\n# 400 Bad Request\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is 400 Bad Request?\n\n \n\n400 Bad Request: The server could not understand the request because of invalid syntax. 400 Bad Request means the server could not understand the request. The JSON is broken, a required header is missing, or a parameter has the wrong type. It is a client error, so retrying the same request will not help. The client has to fix what it sends. That is why a useful 400 response explains what was wrong, for example \"field ` date ` must be in YYYY-MM-DD format\", rather than just repeating the status text.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about 400 Bad Request\n\n  \n\n### What should you keep in mind with 400 Bad Request?\n\n \n\nIn practice, APIs use 400 for malformed requests and 422 for requests that are well-formed but fail validation. Laravel, for instance, returns 422 with a list of field errors when validation fails. Whichever you choose, document it and be consistent, so front-end developers can show the right message to the user.\n\n \n\n## At a glance\n\n   CategoryHTTP status codes Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More HTTP status codes terms\n\n \n\n- [301 Moved Permanently](<https://delaparra-services.nl/knowledge-hub/301-moved-permanently>) \n- [302 Found](<https://delaparra-services.nl/knowledge-hub/302-found>) \n- [304 Not Modified](<https://delaparra-services.nl/knowledge-hub/304-not-modified>) \n- [401 Unauthorized](<https://delaparra-services.nl/knowledge-hub/401-unauthorized>) \n- [403 Forbidden](<https://delaparra-services.nl/knowledge-hub/403-forbidden>) \n- [404 Not Found](<https://delaparra-services.nl/knowledge-hub/404-not-found>)\n\n \n\n[All terms starting with a number or symbol](<https://delaparra-services.nl/knowledge-hub#letter-other>)\n\n \n\n## Skills\n\n \n\n- ### HTTP status debugging\n\n \n\nUse when an HTTP request returns an unexpected status code (4xx or 5xx, or a redirect loop), when a user pastes an error like \"419 Page Expired\", \"422 Unprocessable Content\", \"502 Bad Gateway\" or \"CORS error\", or when debugging API calls between a frontend and a Laravel/PHP or Node backend. Finds the cause from the status code, headers and logs before changing code.\n\n [View skill](<https://delaparra-services.nl/skills/http-status-debugging>) [Download zip](<https://delaparra-services.nl/skills/http-status-debugging/download>) \n- ### Chrome DevTools Agent\n\n \n\n'Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.'\n\n [View skill](<https://delaparra-services.nl/skills/chrome-devtools>) [Download zip](<https://delaparra-services.nl/skills/chrome-devtools/download>) \n- ### API Design Principles\n\n \n\nMaster REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.\n\n [View skill](<https://delaparra-services.nl/skills/api-design-principles>) [Download zip](<https://delaparra-services.nl/skills/api-design-principles/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/400-bad-request/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Reading HTTP status codes and debugging API errors](<https://delaparra-services.nl/manuals/http-statuscodes-en-api-fouten>) \n- [Deploying a Laravel app](<https://delaparra-services.nl/manuals/je-laravel-app-online-zetten>)\n\n \n\n## Related services\n\n \n\n- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)\n\nPerhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet. \n- [Web design and development](<https://delaparra-services.nl/services#service-01>)\n\nAfter our first meeting, we'll develop a custom solution for a fast, scalable application.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/400-bad-request)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/400-bad-request#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request",
                "name": "400 Bad Request: Knowledge hub | DeLaParra Services",
                "description": "The server could not understand the request because of invalid syntax.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/400-bad-request#term",
                    "name": "400 Bad Request",
                    "description": "The server could not understand the request because of invalid syntax.",
                    "termCode": "400-bad-request",
                    "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request",
                    "inLanguage": "en",
                    "keywords": "HTTP status codes",
                    "dateModified": "2026-11-25T17:46:24+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/400-bad-request#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/400-bad-request#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/400-bad-request#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is 400 Bad Request?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "The server could not understand the request because of invalid syntax. 400 Bad Request means the server could not understand the request. The JSON is broken, a required header is missing, or a parameter has the wrong type. It is a client error, so retrying the same request will not help. The client has to fix what it sends. That is why a useful 400 response explains what was wrong, for example \"field date must be in YYYY-MM-DD format\", rather than just repeating the status text."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with 400 Bad Request?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "In practice, APIs use 400 for malformed requests and 422 for requests that are well-formed but fail validation. Laravel, for instance, returns 422 with a list of field errors when validation fails. Whichever you choose, document it and be consistent, so front-end developers can show the right message to the user."
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/http-status-debugging#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/chrome-devtools#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/api-design-principles#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/http-statuscodes-en-api-fouten#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/je-laravel-app-online-zetten#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/400-bad-request#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "400 Bad Request"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/400-bad-request#dataset",
                "name": "400 Bad Request",
                "description": "The server could not understand the request because of invalid syntax.",
                "url": "https://delaparra-services.nl/knowledge-hub/400-bad-request",
                "identifier": "https://delaparra-services.nl/knowledge-hub/400-bad-request#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/400-bad-request#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "HTTP status codes",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:24+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "400-bad-request.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/400-bad-request.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "400-bad-request.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/400-bad-request.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "400-bad-request.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/400-bad-request.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "400-bad-request.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/400-bad-request.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "400-bad-request.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/400-bad-request.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "400-bad-request-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/400-bad-request/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:24+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}