|Informational status codes are interim codes that precede regular status codes and offer additional information.
|Success status codes indicate that your request was successfully received, understood, and accepted.
|Redirection status codes indicate that further action is required by you before your request is fulfilled.
|Client Error, 4xx
|Client error status codes indicate you may have made an error. The status code indicates if the error is permanent or temporary.
|Server Error, 5xx
|Server error codes indicate the server is aware that it has erred or is incapable of performing the request. The status code indicates if the error is permanent or temporary.
Status and Error Code Examples
You may encounter some of the status or error codes described below when making an API request to Groovy Guitars. Examples of messages are shown.
|Continue: Continue with your request. This interim response informs you that the initial part of your request was received. Your request is neither accepted or rejected at this stage.
|OK: Your request was successfully received, understood, and accepted. Information returned depends on the type of API request made.
Example: Successful operation
|Created: Your request was fulfilled and a new resource was created as a result.
Example: Successful creation (via POST or PUT operation)
|No Content: The server fulfilled your request but did not return content. Metainformation might be returned in the form of entity-headers, which if present should be associated with the requested variant.
Example: no content
|Not Modified: You must take further action before your request is fulfilled. The server did not detect any modifications in your request.
Example: Further action required
|Bad Request: The server did not understand your request’s syntax. Modify your request and try again.
Example: Invalid ID supplied
|Unauthorized: Your request requires user authentication, including a WWW-Authenticate header.
Example: Invalid authentication token
|Forbidden: You are not authorized to perform the request.
Example: You are not authorized to perform the operation
|Not Found: The server did not find any information matching your request. You may try your request again at a later time.
Example: Guitar not found
|Method Not Allowed: Your request contained a resource using a request method not supported by that resource.
Example: Validation exception
|Internal Server Error: The server cannot fulfill your request due to an unexpected internal error. You may try your request again at a later time.
Example: Internal server error
|Service Unavailable: The server cannot fulfill your request because it is temporarily overloaded or down for maintenance. You may try your request again at a later time.
Example: Server unavailable