The basics
Request Status Responses
Here is the list of status codes a user will receive when completing a request.
Success
The request was successful. A response with no ATMs is still a successful response.
Request Error
The request needs to be corrected. Sending the same request again returns the same error.
Data not available in Database
For example, the operation name or the ATM ID was not found.
Web Service Error
This is an error in the web service, not in your request. Contact support@ficanex.ca.
Error Message Format
Every error response contains a single error message, as shown in the example below.
{ "error": "Invalid key"}Error Messages and Resolution Steps
400Missing strAtmServiceKeyNo Web Service Key was sent.
Fix: Add strAtmServiceKey to the request address.
400Invalid keyThe Web Service Key was not recognised.
Fix: Check it against the key shown on the FI Portal.
400Missing strAddress, Missing strPostalCode, Missing coordinates, Missing intCityID, Missing intInstitutionID, Missing intAtmIdA required parameter was not included. The message names the missing parameter.
Fix: Add the missing parameter. Each request page lists its required parameters.
400Invalid addressThe address could not be located on the map.
Fix: Check the spelling and include strCity and strProvince. Only Canadian addresses are supported.
400Invalid postal codeThe postal code could not be located on the map.
Fix: Check for typing errors. Only Canadian postal codes are supported.
404Request not foundThe request name in the address was not recognised.
Fix: Check its spelling against the request's page.
404ATM not foundThe Return
Atm request was given an ID that matches no ATM. Fix: Use the id field from a search result.
502Address lookup upstream failed, Postal code lookup upstream failedTHE EXCHANGE could not reach the mapping service it uses to locate addresses and postal codes.
Fix: This is an error in the web service, not in your request. Contact support@ficanex.ca.
500Internal server errorAn unexpected error occurred in the web service.
Fix: This is an error in the web service, not in your request. Contact support@ficanex.ca.
Web Service Key errors are covered in more detail in Your Web Service Key.