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.

Email Campaigns

Code
Error
1200
Invalid campaign type.
1201
Invalid from address.
1202
Invalid html content.
1203
Invalid text content.
1204
Invalid campaign ID.
1205
Invalid campaign status.
1206
Invalid filter.
1207
Invalid targeting.
1208
Invalid subject.
1209
Invalid zip code.
1210
Invalid zip distance.
1211
Invalid type.
1220
Campaign already scheduled.
1221
Scheduled datetime not found.
1230
Invalid ABSPLIT parameters.
1231
Invalid ABSPLIT subject B.
1232
Invalid ABSPLIT size.
1233
Invalid ABSPLIT send_after_period.
1234
Limit parameter is bigger than expected.
1240
Analytics not enabled.

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.