Statuses

This page contains a list of all statuses that can be returned by the API actions.

Generic statuses

The following statuses are the default status code. These can be returned for any request, and indicate a general problem with the the request, such as incorrect formatting or failed authentication.

STATUS_OK (0)
Everything went fine
STATUS_INTERNAL_ERROR (1)
Something went wrong internally
STATUS_TIMESTAMP_OUT_OF_RANGE (2)
Provided timestamp is outside of the allowed range
STATUS_AUTHENTICATION_FAILED (3)
Actor authentication failed
STATUS_ACCESS_DENIED (4)
Access to requested command/action denied for actor
STATUS_INVALID_ACTION (5)
Supplied command or action was not found
STATUS_INPUT_ERROR (6)
Input for action was not properly specified
STATUS_UNKNOWN_PARAMETER (7)
One of the supplied parameters was not recognized
STATUS_RATE_LIMITED (8)
This request has been rate limited (due to invalid authentication)
STATUS_INVALID_TIMEZONE (9)
Given timezone is not valid
STATUS_API_IN_READONLY_MODE (10)
The API is in read-only mode

Specific statuses

The following statuses are specific for the various actions present in the API. Every API action lists the specific statuses that can be returned from that action.

STATUS_JOB_NOT_FOUND (100)
The requested job was not found
STATUS_JOB_INVALID_STATUS (103)
The job is in an invalid state for this operation

 

STATUS_ITEM_NOT_FOUND (120)
The requested item could not be found
STATUS_ITEM_FILE_NOT_FOUND (122)
The requsted item file was not found
STATUS_ITEM_FILE_WRONG_ITEM (123)
The requested item file does not belong to the requested item
STATUS_ITEM_NO_FILES (124)
The requested item has no files
STATUS_ITEM_ALREADY_IN_CATEGORY (125)
The category already contains this item
STATUS_ITEM_NOT_IN_CATEGORY (126)
The category does not contain this item

 

STATUS_SERVER_ROLE_NOT_FOUND (134)
The requested server role was not found

 

STATUS_EVENT_NOT_FOUND (150)
The requested event was not found

 

STATUS_EVENT_HOOK_NOT_FOUND (160)
The requested event hook was not found
STATUS_EVENT_HOOK_INVALID_TARGET (161)
The given target is invalid

 

STATUS_EVENT_HOOK_TYPE_NOT_FOUND (170)
The requested event hook type was not found

 

STATUS_TRANSCODE_PROFILE_NOT_FOUND (200)
The requested transcode profile was not found
STATUS_TRANSCODE_SOURCE_HAS_NO_VIDEO (201)
The transcode source does not have a video track
STATUS_TRANSCODE_SOURCE_HAS_NO_AUDIO (202)
The transcode source does not have an audio track

 

STATUS_CATEGORY_NOT_FOUND (210)
The requested category was not found
STATUS_CATEGORY_PARENT_WRONG (211)
The given parent has the provided category as parent, would create a loop
STATUS_CATEGORY_HAS_LINKED_ITEMS (212)
The category still has items linked to it

 

STATUS_PLAYLIST_NOT_FOUND (220)
The requested playlist was not found

 

STATUS_PLAYLIST_ENTRY_NOT_FOUND (230)
The requested playlist entry was not found

 

STATUS_LIVESTREAM_NOT_FOUND (240)
The requested livestream was not found
STATUS_LIVESTREAM_ALREADY_STARTED (241)
The livestream is already started
STATUS_LIVESTREAM_NOT_YET_STARTED (242)
The livestream is not yet started
STATUS_LIVESTREAM_TYPE_NOT_FOUND (243)
The requested livestream type was not found
STATUS_LIVESTREAM_TYPE_INVALID (244)
The given livestream is not of a suitable type for the requested operation
STATUS_LIVESTREAM_INVALID_STATE (245)
The livestream is in an invalid state for the requested operation

 

STATUS_CUSTOMER_NOT_FOUND (250)
The requested customer was not found

 

STATUS_APPLICATION_NOT_FOUND (260)
The requested application was not found
STATUS_APPLICATION_NOT_PERMITTED (261)
The requested role can not be added or removed by the current actor
STATUS_APPLICATION_ROLE_ALREADY_ASSIGNED (262)
The requested role is already assigned to this application
STATUS_APPLICATION_ROLE_NOT_ASSIGNED (263)
The requested role is not yet assigned to this application

 

STATUS_ROLE_NOT_FOUND (270)
The requested role was not found
STATUS_TOKEN_NOT_FOUND (271)
The requested token was not found
STATUS_ROLE_ALREADY_HAS_TOKEN (272)
The role already has this token
STATUS_ROLE_DOES_NOT_HAVE_TOKEN (273)
The requested role does not have this token
STATUS_ROLE_NOT_PERMITTED (274)
The requested token can not be added or removed by the current actor
STATUS_ROLE_STILL_USED (275)
This role is still used for an application or user

 

STATUS_SESSION_NEEDS_V2_HASH (280)
Creating the session required an API version 2 hash, but it was not supplied
STATUS_SESSION_INVALID (281)
The session could not be created due to some reason
STATUS_SESSION_NOT_FOUND (282)
The requested session was not found

 

STATUS_ACCOUNT_NOT_FOUND (290)
The requested account was not found
STATUS_ACCOUNT_ALREADY_HAS_PROFILE_GROUP (291)
The account already has this profile group
STATUS_ACCOUNT_DOES_NOT_HAVE_PROFILE_GROUP (292)
The account does not have this profile group

 

STATUS_PROFILE_GROUP_NOT_FOUND (300)
The requested profile group was not found

 

STATUS_USER_NOT_FOUND (310)
The requestes user was not found
STATUS_USER_NOT_PERMITTED (311)
The requested role can not be added or removed by the current actor
STATUS_USER_ROLE_ALREADY_ASSIGNED (312)
The requested role is already assigned to this user
STATUS_USER_ROLE_NOT_ASSIGNED (313)
The requested role is not yet assigned to this user
STATUS_USER_PASSWORD_CHANGE_INVALID (314)
The user password change request is invalid
STATUS_USER_PASSWORD_RESET_NOT_FOUND_OR_EXPIRED (315)
The user password reset request was not found or is expired
STATUS_USER_USERNAME_ALREADY_EXISTS (316)
The username already exists

 

STATUS_SCHEDULE_NOT_FOUND (320)
The requested schedule was not found
STATUS_SCHEDULE_ALREADY_HAS_CATEGRY (325)
The schedule already has this category
STATUS_SCHEDULE_DOES_NOT_HAVE_CATEGRY (326)
The schedule does not have this category

 

STATUS_PLAYER_NOT_FOUND (330)
The requested player was not found
STATUS_SHARE_PLAYER_NOT_FOUND (333)
The share player is not found

 

STATUS_PROFILE_NOT_FOUND (370)
The requested profile was not found
STATUS_ITEM_FILE_FORMAT_NOT_FOUND (371)
The requested item file format was not found
STATUS_ITEM_TYPE_NOT_FOUND (372)
The requested item type was not found
STATUS_AUDIO_CODEC_NOT_FOUND (373)
The requested audio codec was not found
STATUS_VIDEO_CODEC_NOT_FOUND (374)
The requested video codec was not found
STATUS_VIDEO_CODEC_PROFILE_NOT_FOUND (375)
The requested video codec profile was not found
STATUS_PROFILE_GROUP_ALREADY_HAS_PROFILE (377)
The profile group already has this profile
STATUS_PROFILE_GROUP_DOES_NOT_HAVE_PROFILE (378)
The profile group does not have this profile
STATUS_PROFILE_INVALID_HEIGHT_FOR_INTERLACED (379)
The profile group has an height that is not supported for interlaced output

 

STATUS_SECURITY_PROFILE_NOT_FOUND (380)
The requested security profile was not found
STATUS_SECURITY_RULE_NOT_VALID (381)
The security rule is not valid
STATUS_SECURITY_RULE_NOT_FOUND (382)
The requested security rule was not found

 

STATUS_STATS_RANGE_INVALID (390)
An invalid time selection range was supplied (spans zero or negative time)

 

STATUS_RECORD_TASK_NOT_FOUND (410)
The requested record task could not be found
STATUS_RECORD_TASK_INVALID_STATUS (411)
The record task has an invalid status

 

STATUS_FTP_USER_ALREADY_EXISTS (420)
The FTP user with the given username already exists
STATUS_FTP_USER_NOT_FOUND (421)
The FTP user could not be found

 

STATUS_SSO_SERVICE_NOT_FOUND (430)
The requested Single Sign-On service could not be found
STATUS_USER_ALREADY_HAS_SSO_TOKEN (431)
The given user already has a token for the given Single Sign-On service
STATUS_USER_HAS_NO_SSO_TOKEN (432)
The given user has no token for the given Single Sign-On service
STATUS_SSO_RESPONSE_INVALID (433)
The given SSO response is invalid
STATUS_SSO_TOKEN_UNKNOWN (434)
The given SSO token is unknown

 

STATUS_PLAYER_SKIN_NOT_FOUND (460)
The requested player skin was not found
STATUS_PLAYER_SKIN_STILL_USED (461)
The player skin is still used by at least one player

 

STATUS_METADATA_KEY_NOT_FOUND (470)
The given metadata key could not be found or is owned by another account
STATUS_METADATA_KEY_ALREADY_EXISTS (471)
The metadata key already exists
STATUS_METADATA_KEY_IN_USE (472)
The metadata key is still in use and cannot be deleted

 

STATUS_PLAYER_PLUGIN_NOT_FOUND (480)
The requested player plugin was not found
STATUS_PLAYER_PLUGIN_STILL_USED (481)
The player plugin is still used by at least one player
STATUS_PLAYER_ALREADY_HAS_PLUGIN (482)
The player already has the plugin
STATUS_PLAYER_DOES_NOT_HAVE_PLUGIN (483)
The player does not have the plugin
STATUS_PLAYER_PLUGIN_WRONG_ACTOR (484)
The player plugin has a wrong actor

 

STATUS_PLAYER_ALREADY_HAS_SETTING (490)
The player already has the setting
STATUS_PLAYER_DOES_NOT_HAVE_SETTING (491)
The player does not have the setting

 

STATUS_NO_CURRENT_USER_APPLICATION_SETTINGS (500)
No user-application settings found for the current user and application

 

STATUS_CUSTOMHOSTNAME_NOT_FOUND (510)
No Custom Hostname Found
STATUS_CUSTOMHOSTNAME_ALREADY_EXISTS (511)
The Custom Hostname already exists

 

STATUS_DRM_NOT_FOUND (520)
The requested AccountDRM could not be found
STATUS_DRM_ALREADY_EXISTS (522)
The Account DRM already exists