Http Status Code

When the server encounters an error while processing a client request, it sends the appropriate HTTP Status Code back to the client in response. WorkDrive will recognize the following status codes:

HTTP Status CodeMessageDescription
200OKThe API request was successful.
201CreatedThe request for record creation was successful.
204No ContentThe request was successful, but there is no content to return.
400Bad RequestThe request is invalid or contains incorrect parameters.
401UnauthorizedYou do not have permission to perform this operation.
402Payment RequiredThe license has expired.
404Not FoundThe requested resource or endpoint was not found.
405Method Not AllowedThe specified HTTP method is not supported for this endpoint.
415Unsupported Media TypeThe server rejected the request because the uploaded media or file type is not supported.
422Unprocessable EntityThe request is syntactically correct, but the provided input cannot be processed.
500Internal Server ErrorAn unexpected server error occurred while processing the request.