Facebook PHP Error Codes Table: Full Listing
The following Facebook PHP error codes table is strangely even more complete than the one on the Facebook Wiki home page.
| Facebook error codes full listing | |||
| Error number | PHP Constant name | Error description | Generated by category methods |
| 1 | API_EC_UNKNOWN | An unknown error occurred | all |
| 2 | API_EC_SERVICE | Service temporarily unavailable | all |
| 3 | API_EC_METHOD | Unknown method | |
| 4 | API_EC_TOO_MANY_CALLS | Application request limit reached | all |
| 5 | API_EC_BAD_IP | Unauthorized source IP address | all |
| 6 | API_EC_HOST_API | This method must run on api.facebook.com | all |
| 100 | API_EC_PARAM | Invalid parameter | all |
| 104 | - | Incorrect signature | all |
| 110 | API_EC_PARAM_USER_ID | Invalid user id | photos.addTag, fql.query |
| 120 | API_EC_PARAM_ALBUM_ID | Invalid album id | photos.upload |
| 121 | API_EC_PARAM_PHOTO_ID | Invalid photo id | photos.addTag |
| 130 | API_EC_PARAM_FEED_PRIORITY | Invalid feed publication priority | feed |
| 200 | API_EC_PERMISSION | Permissions error | feed |
| 210 | - | User not visible | marketplace.removeListings, marketplace.createListing, pages.isFan |
| 240 | API_EC_PERMISSION_MARKUP_OTHER_USER | Desktop applications cannot set FBML for other users | profile.setFBML |
| 250 | API_EC_PERMISSION_STATUS_UPDATE | Updating status requires the extented permission status_update. | users.setStatus |
| 260 | API_EC_PERMISSION_PHOTO_UPLOAD | Modifying existing photos requires the extended permission photo_upload | photos.upload, photos.addTag |
| 280 | - | Creating and modifying listings requires the extended permission create_listing | marketplace.removeListings, marketplace.createListing |
| 321 | API_EC_EDIT_ALBUM_SIZE | Album is full | photos.upload |
| 322 | API_EC_EDIT_PHOTO_TAG_SUBJECT | Invalid photo tag subject | photos.addTag |
| 323 | API_EC_EDIT_PHOTO_TAG_PHOTO | Cannot tag photo already visible on Facebook | photos.addTag |
| 324 | API_EC_EDIT_PHOTO_FILE | Missing or invalid image file | photos.upload |
| 325 | API_EC_EDIT_PHOTO_PENDING_LIMIT | Too many unapproved photos pending | photos.upload |
| 326 | API_EC_EDIT_PHOTO_TAG_LIMIT | Too many photo tags pending | photos.addTag |
| 330 | API_EC_EDIT_MARKUP | Failed to set markup | feed.publishTemplatizedAction, profile.setFBML |
| 340 | API_EC_EDIT_FEED_TOO_MANY_USER_CALLS | Feed publication request limit reached | feed |
| 341 | API_EC_EDIT_FEED_TOO_MANY_USER_ACTION_CALLS | Feed action request limit reached | feed |
| 342 | API_EC_EDIT_FEED_TITLE_LINK | Feed story title can have at most one href anchor | feed |
| 343 | API_EC_EDIT_FEED_TITLE_LENGTH | Feed story title is too long | feed |
| 344 | API_EC_EDIT_FEED_TITLE_NAME | Feed story title can have at most one fb:userlink and must be of the user whose action is being reported | feed |
| 345 | API_EC_EDIT_FEED_TITLE_BLANK | Feed story title rendered as blank | feed |
| 346 | API_EC_EDIT_FEED_BODY_LENGTH | Feed story body is too long | feed |
| 347 | API_EC_EDIT_FEED_PHOTO_SRC | Feed story photo could not be accessed or proxied | feed |
| 348 | API_EC_EDIT_FEED_PHOTO_LINK | Feed story photo link invalid | feed |
| 360 | - | Feed story title_data argument was not a valid JSON-encoded array | feed.publishTemplatizedAction |
| 361 | - | Feed story title template either missing required parameters, or did not have all parameters defined in title_data array | feed.publishTemplatizedAction |
| 362 | - | Feed story body_data argument was not a valid JSON-encoded array | feed.publishTemplatizedAction |
| 363 | - | Feed story body template either missing required parameters, or did not have all parameters defined in body_data array | feed.publishTemplatizedAction |
| 364 | - | Feed story photos could not be retrieved, or bad image links were provided | feed.publishTemplatizedAction |
| 366 | - | One or more of the target ids for this story are invalid. They must all be ids of friends of the acting user | feed.publishTemplatizedAction |
| 600 | FQL_EC_UNKNOWN_ERROR | An unknown error occurred in FQL | fql.query |
| 601 | FQL_EC_PARSER_ERROR | Error while parsing FQL statement | fql.query |
| 602 | FQL_EC_UNKNOWN_FIELD | The field you requested does not exist | fql.query |
| 603 | FQL_EC_UNKNOWN_TABLE | The table you requested does not exist | fql.query |
| 604 | FQL_EC_NO_INDEX | Your statement is not indexable | fql.query |
| 605 | FQL_EC_UNKNOWN_FUNCTION | The function you called down not exist | fql.query |
| 606 | FQL_EC_INVALID_PARAM | Wrong number of arguments passed into the function | fql.query |
| 700 | API_REF_SET_FAILED | Unknown failure in storing ref data. Please try again. | all |
Tags: code, error, listing, methods
Related Post
No Comments
No comments yet.
Comments RSS TrackBack Identifier URI
Leave a comment
