Contact ePostcode.com on +44 (0)845 094 2633  
  
Return Codes
A Return Code is included in every record returned to the user when a call is made to the functions of the ePostcode web service (except ServiceTest).

These Return Codes can be used to get information about any errors or data input problems that may have occurred.

N.B. The web service functions will always return at least one record. If the Return Code is not "1" in the first record then there is a problem.

The table below lists these Return Codes:


Return Code Description
0 Zero Records Returned.
e.g. Searching Premises for a postcode that does not exist.
1 Success
2 Internal Error
201 Invalid Account Details Entered
203 Not Enough Credits Available To Complete Request
301 User Input Not Correctly Formatted
302 User Search Criteria Is Too Vague or Search Carried Out On 'Noise' Words ONLY (i.e. Searching for 'street' or 'road', the search should contain the name of the street 'High Street' or 'Main Road').