# Error Codes



## Video Publishing Errors

### Session Initialization Phase

| Error Subcode | Error Type | Description | Recommendations |
| --- | --- | --- | --- |
| `6000` | `GraphException` | There was a problem uploading your video file. Please try again with another file. | Retry several times and report bug if this still doesn't work. |
| `1363042` | `CodedException` | No Permission to Upload Video: You don't have permission to upload a video here. | Get valid access token. See [Access Tokens](https://developers.facebook.com/documentation/facebook-login/guides/access-tokens) |
| `1363023` | `CodedException` | The video you tried to upload is too large. The maximum size for a video is **2 GB**. Please try again with a smaller file. | Upload with small file or talk to Facebook for capacity |
| `1363022` | `CodedException` | The video you tried to upload is too small. The minimum size for a video is **1 KB**. Please try again with a larger file. | Make sure your file is not empty. |

### Upload Phase

| Error Code | Error Message | Recommendations |
| --- | --- | --- |
| `1363030` | Video Upload Timeout. Your video upload timed out before it could be completed. This is probably because of a slow network connection or because the video is too large. Please try again. | Fix issues then retry upload. |
| `1363019` | There was a problem uploading your video. Please try uploading it again. | Retry upload. |
| `1363037` | There was a problem uploading your video. Please try uploading it again. `error_data:{start_offset:0,end_offset:392695}` | Returned when the server receives an invalid start offset from the client. Try to parse the `start_offset` and `end_offset` from error message and do a retry again. |
| `1363033` | There was a problem uploading your video. Please try uploading it again. | Typically caused by connection issue, which causes server to receive partial file. Need to retry. |
| `1363020` | No Video Selected. Please select the video you want to upload. | Need to include a file name in the parameter |
| `1363005` | No Permission to Edit Video. You lack permission to edit this video. | Need to include a file name in the parameter |
| `1363031` | No Video Detected. It looks like you are uploading a file that is not a video. Please try uploading a supported format. See [Graph API Reference, Supported Formats](https://developers.facebook.com/docs/graph-api/reference/page/videos) | Provide supported format |
| `1363045` | There was a problem uploading your video. Please try uploading it again. | The upload video does not match the size. For example, someone start an upload session to upload 1MB file, but uploads more than 1MB data. |
| `1363032` | No Video Detected. It looks like you are uploading a file that is not a video. Please try uploading a supported format. See [Graph API Reference, Supported Formats](https://developers.facebook.com/docs/graph-api/reference/page/videos) | Provide supported format |
| `1363025` | Video Too Short: The video you tried to upload is too short. The minimum length for a video is **1 second**. Please upload a longer video. | Provide video of minimum duration |
| `1363026` | Video Too Long. The video you tried to upload is too long. The maximum length for a video is **40 minutes**. Please upload a shorter video. | Provide video under maximum duration |
| `1363021` | Video Upload Problem: There was a problem uploading your video. Please try again. | Retry upload |
| `1363041` | Error Uploading Video: There was a problem uploading your video. Please try uploading it again. | Retry upload |
| `1363022` | Video Too Small: The video you tried to upload is too small. The minimum size for a video is **1 KB**. Please try again with a larger file. | Provide minimum sized video |
| `1363023` | Video Too Large: The video you tried to upload is too large. The maximum size for a video is **2 GB**. Please try again with a smaller file. | Provide video less than maximum allowed size. |
| `1363024` | Unsupported Video Format: The video you try to upload is in a format that is not supported. Please try again with a video in a supported format, see [Graph API Reference, Supported Formats](https://developers.facebook.com/docs/graph-api/reference/page/videos). | Provide supported format. |

### End Session Phase

| Error Code | Error Message | Recommendation |
| --- | --- | --- |
| `1617005` | Cannot Add Tag: You do not have permission to add this tag. | See [Permissions with Facebook Login](https://developers.facebook.com/docs/facebook-login/permissions). |
| `1617003` | Too Many User Tags: Sorry, we can not save your tag because this video has already been tagged with the maximum number of people allowed. Please see the [FAQ page on Tagging](http://www.facebook.com/help/?faq=16974). | Limit allowed tags. |
| `1363011` | Error Storing or Editing Video: There was an error storing or editing your video. Please try again. | Retry post. |
| `1617006` | Already Tagged: The specified user or page is already tagged in this video. |  |
| `1357005` | User-provided request parameters do not match the types specified in `param_get/param_post`. |  |
| `1607004` | The date provided is earlier than the one for User birthday. | Check and verify the date is correct then retry the post |
| `1363041` | Error Uploading Video: There was a problem uploading your video. Please try uploading it again. | Check that you do not use an expired upload session id. |
| `1607002` | Invalid Date, `TIMELINE__INVALID_TIME_TOO_EARLY`. You cannot post to that time period. | Change to a later date. |

## Slideshow Publishing Errors

| ErrorCode | Error Message | Recommendation |
| --- | --- | --- |
| `1363061` | You cannot upload both video and images at the same time. | Retry with photos only. |
| `1363064` | The images you tried to upload are not enough. The minimum number of images for creating a video is 3. | Retry with more images |
| `1363063` | The images you tried to upload are too many. The maximum number of images for creating a video is 7. | Retry with fewer images. |
| `1363065` | Unable to fetch image file from URL. | Retry with valid image url. |
| `1363066` | The image file you selected is in a format gif that we don't support. | Remove the unsupported image and retry. |