home > support > API > error messages

API Error Messages

A variety of error messages may be returned by the API, further details is provided on these in the table below. In addition Marketplace partners can log into their accounts and view recent API calls plus any error messages to see the actual data sent and received.

OK
no error :)
NO MATCHING DATA
When parameters are supplied that has no match. Also *may* be returned when an account has not yet upgraded to a paying account
FAIL_SIG
Signature doesn't match. Check your Channel ID is correct for the data you are requesting
FAIL_PERM
Permissions - you are trying to undertake an action you have no permission to do
FAIL_TOUROPONLY
The API method called can only be used by tour operators / suppliers and not by agents.
FAIL_KEYNOTFOUND
The key supplied doesn't return a valid connection (check your API login details are correct)
FAIL_PARTNERSONLY
/p/ calls can only be called using a Marketplace Agent API connection, not a Tour Operator one. Ensure you send through Channel ID zero when running /p/ style calls (our API wrappers handle this for you)
FAIL_ACTIVEPARTNERSONLY
Has the Marketplace Agent account been deactivated for any reason?
FAIL_TIME
The connection is signed with a time, if a signed request doesn't hit TourCMS within allowed boundaries (plus minus 15 minutes) it is rejected. This usually occurs due to a misconfigured server, please double check your servers time (and timezone!) are correctly set.
FAIL_VERB
Sending POST when you mean GET and sending GET when you mean POST!
Remember Marketplace Agents can login to their agent account and review the API error logs.
Don't forget to review the useful background information page!