Client Errors

FoneStorm API uses the following HTTP status codes for client errors:

400Bad RequestThe server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
401UnauthorizedThe request has not been applied because it lacks valid authentication credentials for the target resource.
402Payment RequiredThe target resource requires some form of digital cash or micropayment scheme.
403ForbiddenThe server understood the request but refuses to authorize it.
404Not FoundThe origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
405Method Not AllowedThe method received in the request-line is known by the origin server but not supported by the target resource.
406Not AcceptableThe target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request, and the server is unwilling to supply a default representation.
407Proxy Authentication RequiredSimilar to 401 Unauthorized, but it indicates that the client needs to authenticate itself in order to use a proxy.
408Request Time-OutThe server did not receive a complete request message within the time that it was prepared to wait.
409ConflictThe request could not be completed due to a conflict with the current state of the target resource. This code is used in situations where the user might be able to resolve the conflict and resubmit the request.
410GoneThe target resource is no longer available at the origin server and that this condition is likely to be permanent.
411Length RequiredThe server refuses to accept the request without a defined Content-Length.
412Precondition FailedOne or more conditions given in the request header fields evaluated to false when tested on the server.
413Request Entity Too LargeThe server is refusing to process a request because the request payload is larger than the server is willing or able to process.
414Request-URI Too LargeThe server is refusing to service the request because the request-target is longer than the server is willing to interpret.
415Unsupported Media TypeThe origin server is refusing to service the request because the payload is in a format not supported by this method on the target resource.
416Requested Range Not SatisfiableNone of the ranges in the request's Range header field overlap the current extent of the selected resource or that the set of ranges requested has been rejected due to invalid ranges or an excessive request of small or overlapping ranges.
417Expectation FailedThe expectation given in the request's Expect header field could not be met by at least one of the inbound servers.
422Unprocessable EntityThe server understands the content type of the request entity and the syntax of the request entity is correct, but was unable to process the contained instructions.
423LockedThe source or destination resource of a method is locked.
428Precondition RequiredThe origin server requires the request to be conditional.
429Too Many RequestsThe user has sent too many requests in a given amount of time ("rate limiting").
451Unavailable For Legal ReasonsThe server is denying access to the resource as a consequence of a legal demand.