---
title: "HTTP-foutcodes | open.mp"
description: "HTTP-foutcodes en beschrijvingen."
canonical: https://omp.itsneufox.com/nl/docs/scripting/resources/http-error-response-codes
language: nl
---

# HTTP-foutcodes

notitie

Deze codes vullen normale [HTTP](https://omp.itsneufox.com/nl/docs/scripting/functions/HTTP)\-responscodes aan (in `response_code`).

| Code | Fout | Omschrijving |
| --- | --- | --- |
| 1 | HTTP\_ERROR\_BAD\_HOST | Ongeldige/ongeresolveerde host in de URL. |
| 2 | HTTP\_ERROR\_NO\_SOCKET | Mislukte socketinitialisatie voor de aanvraag. |
| 3 | HTTP\_ERROR\_CANT\_CONNECT | Kan geen verbinding maken met de server (bijv. netwerkproblemen of server onbereikbaar). |
| 4 | HTTP\_ERROR\_CANT\_WRITE | Fout bij het schrijven van data tijdens de aanvraag. |
| 5 | HTTP\_ERROR\_CONTENT\_TOO\_BIG | Verzoekinhoud is groter dan toegestaan door de server/configuratie. |
| 6 | HTTP\_ERROR\_MALFORMED\_RESPONSE | Respons is ongeldig of onverwacht van formaat en voldoet niet aan HTTP-standaarden. |

## Veelvoorkomende HTTP-responscodes

### 1xx Informational

| Code |  |
| --- | --- |
| 100 | Continue |
| 101 | Switching Protocols |
| 102 | Processing |

### 2xx Success

| Code |  |
| --- | --- |
| 200 | OK |
| 201 | Created |
| 204 | No Content |
| 206 | Partial Content |

### 3xx Redirection

| Code |  |
| --- | --- |
| 301 | Moved Permanently |
| 302 | Found |
| 304 | Not Modified |
| 307 | Temporary Redirect |

### 4xx Client Errors

| Code |  |
| --- | --- |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 405 | Method Not Allowed |
| 429 | Too Many Requests |

### 5xx Server Errors

| Code |  |
| --- | --- |
| 500 | Internal Server Error |
| 502 | Bad Gateway |
| 503 | Service Unavailable |
| 504 | Gateway Timeout |
