fans and counting

api FanBridge API - Errors and Exceptions

This section describes all possible error codes and exceptions returned by the FanBridge API platform.

General

Code
Error
1500
Server error.
This type of error might occur if something was wrong server side. In case, please send us a report with last data sent to server and last steps you did before this happen.
1502
Invalid HTTP verb.
The HTTP method used is not allowed for the API method. For example, you tried to retrieve data with a POST action on an API method that only allow the use of GET.
1503
Invalid datetime format.
The format of the date/time field you provided could not be validated as ISO format. The standard ISO format is "YYYY-MM-DD HH:MM:SS", for example "2011-01-15 11:59:59". In some API methods, you can use "NOW" to point to the current date/time.
1550
Invalid IP.
IP format could not be validated. Private (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and reserved (0.0.0.0/8, 169.254.0.0/16, 192.0.2.0/24, 224.0.0.0/4) ranges are not allowed either. An example of a valid one could be "200.60.15.18".

Subscribers

Code
Error
1401
Import already running.
Only one import can be running at the same time.

Groups

Code
Error
1175
Invalid Group ID.
1176
Invalid name.
1177
Invalid description.

Socialnet Campaigns

Code
Error
1300
Invalid name.
1301
Invalid message.
1302
Invalid schedule date.
1303
Invalid accounts.
1304
Invalid campaign ID.
1305
Invalid campaign status.

Tour Calendar

Code
Error
1601
Invalid offset.
The offset passed is invalid. Range is from 1 to 50.
1602
Invalid show ID.
Show ID is not present or it does not belong to the current user.