HTTP HLR Responses
When you make an HTTP
HLR request, the server will send a response back to you showing whether your request was successful or not.
A successful response will look like:
OK [uniqueID]
Where [uniqueID] is the ID of the
HLR query you made, which you can use to find the results of your query. For example:
OK 789511.
An unsuccessful response will look like:
ERR [ErrorType] [ErrorDescription]
Where
[ErrorType] is either
FAIL, in which case there was an error with the request which needs attention before being retried, or
RETRY in which case there was a temporary error and you should retry your request in one or two minutes.
If you receive a
FAIL error type, you can use
[ErrorDescription] to help identify and correct the problem. For a list of all [ErrorDescription] values and possible solutions, please see the
I'm Receiving An Error, What Does This Mean? article.
An example unsuccessful response might look like:
ERR FAIL Invalid Username or Password.