Module: Odnoklassniki::Error::Code
- Defined in:
- lib/odnoklassniki/error.rb
Constant Summary collapse
- UNKNOWN =
Unknown error
1- SERVICE =
Service temporary unavailable
2- METHOD =
Method does not exist.
3- REQUEST =
Failed to process request due to invalid request
4- ACTION_BLOCKED =
The requested action is temporarily blocked for current user
7- FLOOD_BLOCKED =
The execution of method is blocked due to flood
8- IP_BLOCKED =
The execution of method is blocked by IP address due to suspicious activity of current user or due to other restrictions applied to given method
9- PERMISSION_DENIED =
Permission denied. Possible reason - user not authorized application to perform operation
10- LIMIT_REACHED =
Method invocation limit reached
11- CANCELLED =
Operation was cancelled by user
12- NOT_MULTIPART =
Not a multi-part request when uploading photo
21- NOT_ACTIVATED =
User must activate his profile to complete the action
22- NOT_YET_INVOLVED =
User not involved to the application - see notes (in russian)
23- NOT_OWNER =
User does not own specified object
24- NOT_ACTIVE =
Notification sending error. User not active in application.
25- TOTAL_LIMIT_REACHED =
Notification sending error. Notification limit reached. notes (in russian)
26- PARAM =
Missing or invalid parameter
100- PARAM_API_KEY =
Parameter application_key not specified or invalid
101- PARAM_SESSION_EXPIRED =
Session key is expired
102- PARAM_SESSION_KEY =
Invalid session key
103- PARAM_SIGNATURE =
Invalid signature
104- PARAM_RESIGNATURE =
Invalid re-signature
105- PARAM_ENTITY_ID =
Invalid entity ID (discussions)
106- PARAM_USER_ID =
Invalid user ID
110- PARAM_ALBUM_ID =
Invalid album ID
120- PARAM_PHOTO_ID =
Invalid photo ID
121- PARAM_WIDGET =
Invalid Widget ID
130- PARAM_MESSAGE_ID =
Invalid message ID
140- PARAM_COMMENT_ID =
Invalid comment ID
141- PARAM_HAPPENING_ID =
Invalid happening ID
150- PARAM_HAPPENING_PHOTO_ID =
Invalid happening photo ID
151- PARAM_GROUP_ID =
Invalid group ID
160- PARAM_PERMISSION =
Application can not perform operation. In most cases, caused by access to operation without user authorization
200- PARAM_APPLICATION_DISABLED =
Application is disabled
210- PARAM_DECISION =
Invalid decision ID
211- PARAM_BADGE_ID =
Invalid badge ID
212- PARAM_PRESENT_ID =
Invalid present ID
213- PARAM_RELATION_TYPE =
Invalid relation type
214- NOT_FOUND =
Requested information is not found
300- EDIT_PHOTO_FILE =
Error processing multi-part request
324- AUTH_LOGIN =
Authentication failure. Invalid login/password or authentication token or user is deleted/blocked.
401- AUTH_LOGIN_CAPTCHA =
Authentication failure. Captcha entry is required for login.
402- AUTH_LOGIN_WEB_HUMAN_CHECK =
Authentication failure.
403- NOT_SESSION_METHOD =
Session is prohibited for the method, but session key was specified
451- SESSION_REQUIRED =
Session key was not specified for the method, which requires session
453- CENSOR_MATCH =
Text rejected by censor
454- FRIEND_RESTRICTION =
Cannot perform operation because friend set restriction on it (put to “black list” or made his/her account private)
455- GROUP_RESTRICTION =
Cannot perform operation because group set restriction on it
456- UNAUTHORIZED_RESTRICTION =
Unauthorized access
457- PRIVACY_RESTRICTION =
Same as FRIEND_RESTRICTION
458- PHOTO_SIZE_LIMIT_EXCEEDED =
The size in bytes of image binary content exceeds the limits
500- PHOTO_SIZE_TOO_SMALL =
The image size in pixels are too small
501- PHOTO_SIZE_TOO_BIG =
The image size in pixels are too big
502- PHOTO_INVALID_FORMAT =
The image format cannot be recognized
503- PHOTO_IMAGE_CORRUPTED =
The image format is recognized, but the content is corrupted
504- PHOTO_NO_IMAGE =
No image is found in request
505- PHOTO_PIN_TOO_MUCH =
Too much photopin’s on photo.
508- IDS_BLOCKED =
Photopin error from antispam system
511- PHOTO_ALBUM_NOT_BELONGS_TO_USER =
Album not belongs to the user
512- PHOTO_ALBUM_NOT_BELONGS_TO_GROUP =
Album not belongs to the specified group
513- MEDIA_TOPIC_BLOCK_LIMIT =
Too many media parameters
600- MEDIA_TOPIC_TEXT_LIMIT =
Text limit reached
601- MEDIA_TOPIC_POLL_QUESTION_TEXT_LIMIT =
Question text limit reached
602- MEDIA_TOPIC_POLL_ANSWERS_LIMIT =
Too many answer parameters
603- MEDIA_TOPIC_POLL_ANSWER_TEXT_LIMIT =
Answer text limit reached
604- MEDIA_TOPIC_WITH_FRIENDS_LIMIT =
Pinned friends count limit reached
605- MEDIA_TOPIC_WITH_FRIENDS_USER_LIMIT =
Pinned friends count limit reached (user-specific)
606- GROUP_DUPLICATE_JOIN_REQUEST =
Group join request already registered.
610- COMMENT_NOT_FOUND =
Comment not found
700- INVALID_AUTHOR =
Invalid author
701- COMMENT_NOT_ACTIVE =
Comment was removed
702- TIMEOUT_EXCEEDED =
Edit timeout exceeded
704- CHAT_NOT_FOUND =
Chat not found
705- MESSAGE_NOT_ACTIVE =
Message was removed
706- NO_SUCH_APP =
Returned, when try to get public application information for not existing application
900- CALLBACK_INVALID_PAYMENT =
Error returned by the application server to notify about invalid transaction details
1001- PAYMENT_IS_REQUIRED_PAYMENT =
Payment is required to use service
1002- INVALID_PAYMENT =
Invalid payment transaction
1003- DUPLICATE_PAYMENT =
Instant payment is too frequent
1004- NOT_ENOUGH_MONEY =
User has no requested amount of money on his account
1005- VCHAT_SERVICE_DISABLED =
Video chat is disabled.
1101- TARGET_USER_UNAVAILABLE =
Target user is not available for video chat or video message/
1102- FRIENDSHIP_REQUIRED =
Target user must be a friend.
1103- BATCH =
Batching error.
1200- APP_NO_PLATFORM_ALLOWED =
No platforms allowed for this application
1300- APP_DEVICE_NOT_ALLOWED =
Specified device not allowed
1301- APP_DEVICE_NOT_SPECIFIED =
Device not specified
1302- APP_EMPTY_SEARCH_PARAMS =
Location search error.
1400- APP_SEARCH_SCENARIO_DOES_NOT_EXIST =
Location search error.
1401- SYSTEM =
Critical system error. Please report these problems support
9999