forked from VKCOM/vk-api-schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
errors.json
866 lines (866 loc) · 24.4 KB
/
errors.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"subcodes": {
"too_many_communities": {
"subcode": 1
},
"user_link_with_another_service_uuid": {
"subcode": 1000
},
"service_uuid_link_with_another_user": {
"subcode": 1001
}
}
},
"errors": {
"api_error_unknown": {
"code": 1,
"description": "Unknown error occurred",
"global": true
},
"api_error_disabled": {
"code": 2,
"description": "Application is disabled. Enable your application or use test mode",
"global": true
},
"api_error_method": {
"code": 3,
"description": "Unknown method passed",
"global": true
},
"api_error_signature": {
"code": 4,
"description": "Incorrect signature",
"global": true
},
"api_error_auth": {
"code": 5,
"description": "User authorization failed",
"global": true
},
"api_error_too_many": {
"code": 6,
"description": "Too many requests per second",
"global": true
},
"api_error_permission": {
"code": 7,
"description": "Permission to perform this action is denied",
"global": true
},
"api_error_request": {
"code": 8,
"description": "Invalid request",
"global": true,
"subcodes": [
{
"$ref": "#/definitions/subcodes/user_link_with_another_service_uuid"
},
{
"$ref": "#/definitions/subcodes/service_uuid_link_with_another_user"
}
]
},
"api_error_flood": {
"code": 9,
"description": "Flood control",
"global": true
},
"api_error_server": {
"code": 10,
"description": "Internal server error",
"global": true
},
"api_error_enabled_in_test": {
"code": 11,
"description": "In test mode application should be disabled or user should be authorized",
"global": true
},
"api_error_compile": {
"code": 12,
"description": "Unable to compile code"
},
"api_error_runtime": {
"code": 13,
"description": "Runtime error occurred during code invocation"
},
"api_error_captcha": {
"code": 14,
"description": "Captcha needed",
"global": true
},
"api_error_access": {
"code": 15,
"description": "Access denied",
"global": true
},
"api_error_auth_https": {
"code": 16,
"description": "HTTP authorization failed",
"global": true
},
"api_error_auth_validation": {
"code": 17,
"description": "Validation required",
"global": true
},
"api_error_user_deleted": {
"code": 18,
"description": "User was deleted or banned",
"global": true
},
"api_error_blocked": {
"code": 19,
"description": "Content blocked"
},
"api_error_method_permission": {
"code": 20,
"description": "Permission to perform this action is denied for non-standalone applications",
"global": true
},
"api_error_method_ads": {
"code": 21,
"description": "Permission to perform this action is allowed only for standalone and OpenAPI applications",
"global": true
},
"api_error_upload": {
"code": 22,
"description": "Upload error"
},
"api_error_method_disabled": {
"code": 23,
"description": "This method was disabled",
"global": true
},
"api_error_need_confirmation": {
"code": 24,
"description": "Confirmation required",
"global": true
},
"api_error_need_token_confirmation": {
"code": 25,
"description": "Token confirmation required",
"global": true
},
"api_error_group_auth": {
"code": 27,
"description": "Group authorization failed",
"global": true
},
"api_error_app_auth": {
"code": 28,
"description": "Application authorization failed",
"global": true
},
"api_error_rate_limit": {
"code": 29,
"description": "Rate limit reached",
"global": true
},
"api_error_private_profile": {
"code": 30,
"description": "This profile is private",
"global": true
},
"api_error_not_implemented_yet": {
"code": 33,
"description": "Not implemented yet",
"global": true
},
"api_error_client_update_needed": {
"code": 35,
"description": "Client update needed"
},
"api_error_timeout": {
"code": 36,
"description": "Method execution was interrupted due to timeout"
},
"api_error_user_banned": {
"code": 37,
"description": "User was banned",
"global": true
},
"api_error_unknown_application": {
"code": 38,
"description": "Unknown application",
"global": true
},
"api_error_unknown_user": {
"code": 39,
"description": "Unknown user",
"global": true
},
"api_error_unknown_group": {
"code": 40,
"description": "Unknown group",
"global": true
},
"api_error_additional_signup_required": {
"code": 41,
"description": "Additional signup required",
"global": true
},
"api_error_param": {
"code": 100,
"description": "One of the parameters specified was missing or invalid",
"global": true
},
"api_error_param_api_id": {
"code": 101,
"description": "Invalid application API ID",
"global": true
},
"api_error_limits": {
"code": 103,
"description": "Out of limits",
"subcodes": [
{
"$ref": "#/definitions/subcodes/too_many_communities"
}
]
},
"api_error_not_found": {
"code": 104,
"description": "Not found"
},
"api_error_save_file": {
"code": 105,
"description": "Couldn't save file"
},
"api_error_action_failed": {
"code": 106,
"description": "Unable to process action"
},
"api_error_param_user_id": {
"code": 113,
"description": "Invalid user id",
"global": true
},
"api_error_param_album_id": {
"code": 114,
"description": "Invalid album id"
},
"api_error_param_server": {
"code": 118,
"description": "Invalid server"
},
"api_error_param_title": {
"code": 119,
"description": "Invalid title"
},
"api_error_param_hash": {
"code": 121,
"description": "Invalid hash"
},
"api_error_param_photos": {
"code": 122,
"description": "Invalid photos"
},
"api_error_param_group_id": {
"code": 125,
"description": "Invalid group id"
},
"api_error_param_photo": {
"code": 129,
"description": "Invalid photo"
},
"api_error_param_page_id": {
"code": 140,
"description": "Page not found"
},
"api_error_access_page": {
"code": 141,
"description": "Access to page denied"
},
"api_error_mobile_not_activated": {
"code": 146,
"description": "The mobile number of the user is unknown"
},
"api_error_insufficient_funds": {
"code": 147,
"description": "Application has insufficient funds"
},
"api_error_access_menu": {
"code": 148,
"description": "Access to the menu of the user denied"
},
"api_error_param_timestamp": {
"code": 150,
"description": "Invalid timestamp",
"global": true
},
"api_error_friends_list_id": {
"code": 171,
"description": "Invalid list id"
},
"api_error_friends_list_limit": {
"code": 173,
"description": "Reached the maximum number of lists"
},
"api_error_friends_add_yourself": {
"code": 174,
"description": "Cannot add user himself as friend"
},
"api_error_friends_add_in_enemy": {
"code": 175,
"description": "Cannot add this user to friends as they have put you on their blacklist"
},
"api_error_friends_add_enemy": {
"code": 176,
"description": "Cannot add this user to friends as you put him on blacklist"
},
"api_error_friends_add_not_found": {
"code": 177,
"description": "Cannot add this user to friends as user not found"
},
"api_error_param_note_id": {
"code": 180,
"description": "Note not found"
},
"api_error_access_note": {
"code": 181,
"description": "Access to note denied"
},
"api_error_access_note_comment": {
"code": 182,
"description": "You can't comment this note"
},
"api_error_access_comment": {
"code": 183,
"description": "Access to comment denied"
},
"api_error_access_album": {
"code": 200,
"description": "Access denied",
"global": true
},
"api_error_access_audio": {
"code": 201,
"description": "Access denied",
"global": true
},
"api_error_access_group": {
"code": 203,
"description": "Access to group denied",
"global": true
},
"api_error_access_video": {
"code": 204,
"description": "Access denied"
},
"api_error_access_market": {
"code": 205,
"description": "Access denied"
},
"api_error_wall_access_post": {
"code": 210,
"description": "Access to wall's post denied"
},
"api_error_wall_access_comment": {
"code": 211,
"description": "Access to wall's comment denied"
},
"api_error_wall_access_replies": {
"code": 212,
"description": "Access to post comments denied"
},
"api_error_wall_access_add_reply": {
"code": 213,
"description": "Access to status replies denied"
},
"api_error_wall_add_post": {
"code": 214,
"description": "Access to adding post denied"
},
"api_error_wall_ads_published": {
"code": 219,
"description": "Advertisement post was recently added"
},
"api_error_wall_too_many_recipients": {
"code": 220,
"description": "Too many recipients"
},
"api_error_status_no_audio": {
"code": 221,
"description": "User disabled track name broadcast"
},
"api_error_wall_links_forbidden": {
"code": 222,
"description": "Hyperlinks are forbidden"
},
"api_error_wall_reply_owner_flood": {
"code": 223,
"description": "Too many replies"
},
"api_error_wall_ads_post_limit_reached": {
"code": 224,
"description": "Too many ads posts"
},
"api_error_wall_donut": {
"code": 225,
"description": "Donut is disabled"
},
"api_error_likes_reaction_can_not_be_applied": {
"code": 232,
"description": "Reaction can not be applied to the object"
},
"api_error_polls_access": {
"code": 250,
"description": "Access to poll denied"
},
"api_error_polls_poll_id": {
"code": 251,
"description": "Invalid poll id"
},
"api_error_polls_answer_id": {
"code": 252,
"description": "Invalid answer id"
},
"api_error_polls_access_without_vote": {
"code": 253,
"description": "Access denied, please vote first"
},
"api_error_access_groups": {
"code": 260,
"description": "Access to the groups list is denied due to the user's privacy settings"
},
"api_error_album_full": {
"code": 300,
"description": "This album is full",
"global": true
},
"api_error_albums_limit": {
"code": 302,
"description": "Albums number limit is reached"
},
"api_error_votes_permission": {
"code": 500,
"description": "Permission denied. You must enable votes processing in application settings",
"global": true
},
"api_error_ads_permission": {
"code": 600,
"description": "Permission denied. You have no access to operations specified with given object(s)",
"global": true
},
"api_error_weighted_flood": {
"code": 601,
"description": "Permission denied. You have requested too many actions this day. Try later."
},
"api_error_ads_partial_success": {
"code": 602,
"description": "Some part of the request has not been completed"
},
"api_error_ads_specific": {
"code": 603,
"description": "Some ads error occurs",
"global": true
},
"api_error_ads_object_deleted": {
"code": 629,
"description": "Object deleted"
},
"api_error_group_change_creator": {
"code": 700,
"description": "Cannot edit creator role"
},
"api_error_group_not_in_club": {
"code": 701,
"description": "User should be in club"
},
"api_error_group_too_many_officers": {
"code": 702,
"description": "Too many officers in club"
},
"api_error_group_need_2fa": {
"code": 703,
"description": "You need to enable 2FA for this action"
},
"api_error_group_host_need_2fa": {
"code": 704,
"description": "User needs to enable 2FA for this action"
},
"api_error_group_too_many_addresses": {
"code": 706,
"description": "Too many addresses in club"
},
"api_error_group_app_is_not_installed_in_community": {
"code": 711,
"description": "Application is not installed in community"
},
"api_error_group_invite_links_not_valid": {
"code": 714,
"description": "Invite link is invalid - expired, deleted or not exists"
},
"api_error_video_already_added": {
"code": 800,
"description": "This video is already added"
},
"api_error_video_comments_closed": {
"code": 801,
"description": "Comments for this video are closed"
},
"api_error_messages_user_blocked": {
"code": 900,
"description": "Can't send messages for users from blacklist"
},
"api_error_messages_deny_send": {
"code": 901,
"description": "Can't send messages for users without permission"
},
"api_error_messages_privacy": {
"code": 902,
"description": "Can't send messages to this user due to their privacy settings"
},
"api_error_messages_too_old_pts": {
"code": 907,
"description": "Value of ts or pts is too old"
},
"api_error_messages_too_new_pts": {
"code": 908,
"description": "Value of ts or pts is too new"
},
"api_error_messages_edit_expired": {
"code": 909,
"description": "Can't edit this message, because it's too old"
},
"api_error_messages_too_big": {
"code": 910,
"description": "Can't sent this message, because it's too big"
},
"api_error_messages_keyboard_invalid": {
"code": 911,
"description": "Keyboard format is invalid"
},
"api_error_messages_chat_bot_feature": {
"code": 912,
"description": "This is a chat bot feature, change this status in settings"
},
"api_error_messages_too_long_forwards": {
"code": 913,
"description": "Too many forwarded messages"
},
"api_error_messages_too_long_message": {
"code": 914,
"description": "Message is too long"
},
"api_error_messages_chat_user_no_access": {
"code": 917,
"description": "You don't have access to this chat"
},
"api_error_messages_cant_see_invite_link": {
"code": 919,
"description": "You can't see invite link for this chat"
},
"api_error_messages_edit_kind_disallowed": {
"code": 920,
"description": "Can't edit this kind of message"
},
"api_error_messages_cant_fwd": {
"code": 921,
"description": "Can't forward these messages"
},
"api_error_messages_cant_delete_for_all": {
"code": 924,
"description": "Can't delete this message for everybody"
},
"api_error_messages_chat_not_admin": {
"code": 925,
"description": "You are not admin of this chat"
},
"api_error_messages_chat_not_exist": {
"code": 927,
"description": "Chat does not exist"
},
"api_error_messages_cant_change_invite_link": {
"code": 931,
"description": "You can't change invite link for this chat"
},
"api_error_messages_group_peer_access": {
"code": 932,
"description": "Your community can't interact with this peer"
},
"api_error_messages_chat_user_not_in_chat": {
"code": 935,
"description": "User not found in chat"
},
"api_error_messages_contact_not_found": {
"code": 936,
"description": "Contact not found"
},
"api_error_messages_message_request_already_sent": {
"code": 939,
"description": "Message request already sent"
},
"api_error_messages_too_many_posts": {
"code": 940,
"description": "Too many posts in messages"
},
"api_error_messages_cant_pin_one_time_story": {
"code": 942,
"description": "Cannot pin one-time story"
},
"api_error_messages_intent_cant_use": {
"code": 943,
"description": "Cannot use this intent"
},
"api_error_messages_intent_limit_overflow": {
"code": 944,
"description": "Limits overflow for this intent"
},
"api_error_messages_chat_disabled": {
"code": 945,
"description": "Chat was disabled"
},
"api_error_messages_chat_unsupported": {
"code": 946,
"description": "Chat not supported"
},
"api_error_messages_member_access_to_group_denied": {
"code": 947,
"description": "Can't add user to chat, because user has no access to group"
},
"api_error_messages_cant_edit_pinned_yet": {
"code": 949,
"description": "Can't edit pinned message yet"
},
"api_error_messages_peer_blocked_reason_by_time": {
"code": 950,
"description": "Can't send message, reply timed out"
},
"api_error_auth_flood_error": {
"code": 1105,
"description": "Too many auth attempts, try again later"
},
"api_error_param_doc_id": {
"code": 1150,
"description": "Invalid document id"
},
"api_error_param_doc_delete_access": {
"code": 1151,
"description": "Access to document deleting is denied"
},
"api_error_param_doc_title": {
"code": 1152,
"description": "Invalid document title"
},
"api_error_param_doc_access": {
"code": 1153,
"description": "Access to document is denied"
},
"api_error_photo_changed": {
"code": 1160,
"description": "Original photo was changed"
},
"api_error_too_many_lists": {
"code": 1170,
"description": "Too many feed lists"
},
"api_error_apps_already_unlocked": {
"code": 1251,
"description": "This achievement is already unlocked"
},
"api_error_apps_subscription_not_found": {
"code": 1256,
"description": "Subscription not found"
},
"api_error_apps_subscription_invalid_status": {
"code": 1257,
"description": "Subscription is in invalid status"
},
"api_error_invalid_address": {
"code": 1260,
"description": "Invalid screen name"
},
"api_error_communities_catalog_disabled": {
"code": 1310,
"description": "Catalog is not available for this user"
},
"api_error_communities_categories_disabled": {
"code": 1311,
"description": "Catalog categories are not available for this user"
},
"api_error_market_restore_too_late": {
"code": 1400,
"description": "Too late for restore"
},
"api_error_market_comments_closed": {
"code": 1401,
"description": "Comments for this market are closed"
},
"api_error_market_album_not_found": {
"code": 1402,
"description": "Album not found"
},
"api_error_market_item_not_found": {
"code": 1403,
"description": "Item not found"
},
"api_error_market_item_already_added": {
"code": 1404,
"description": "Item already added to album"
},
"api_error_market_too_many_items": {
"code": 1405,
"description": "Too many items"
},
"api_error_market_too_many_items_in_album": {
"code": 1406,
"description": "Too many items in album"
},
"api_error_market_too_many_albums": {
"code": 1407,
"description": "Too many albums"
},
"api_error_market_item_has_bad_links": {
"code": 1408,
"description": "Item has bad links in description"
},
"api_error_market_extended_not_enabled": {
"code": 1409,
"description": "Extended market not enabled"
},
"api_error_market_variant_not_found": {
"code": 1416,
"description": "Variant not found"
},
"api_error_market_property_not_found": {
"code": 1417,
"description": "Property not found"
},
"api_error_market_grouping_must_contain_more_than_one_item": {
"code": 1425,
"description": "Grouping must have two or more items"
},
"api_error_market_grouping_items_must_have_distinct_properties": {
"code": 1426,
"description": "Item must have distinct properties"
},
"api_error_market_orders_no_cart_items": {
"code": 1427,
"description": "Cart is empty"
},
"api_error_market_invalid_dimensions": {
"code": 1429,
"description": "Specify width, length, height and weight all together"
},
"api_error_market_cant_change_vkpay_status": {
"code": 1430,
"description": "VK Pay status can not be changed"
},
"api_error_market_shop_already_enabled": {
"code": 1431,
"description": "Market was already enabled in this group"
},
"api_error_market_shop_already_disabled": {
"code": 1432,
"description": "Market was already disabled in this group"
},
"api_error_market_photos_crop_invalid_format": {
"code": 1433,
"description": "Invalid image crop format"
},
"api_error_market_photos_crop_overflow": {
"code": 1434,
"description": "Crop bottom right corner is outside of the image"
},
"api_error_market_photos_crop_size_too_low": {
"code": 1435,
"description": "Crop size is less than the minimum"
},
"api_error_market_not_enabled": {
"code": 1438,
"description": "Market not enabled"
},
"api_error_story_expired": {
"code": 1600,
"description": "Story has already expired"
},
"api_error_story_incorrect_reply_privacy": {
"code": 1602,
"description": "Incorrect reply privacy"
},
"api_error_pretty_cards_card_not_found": {
"code": 1900,
"description": "Card not found"
},
"api_error_pretty_cards_too_many_cards": {
"code": 1901,
"description": "Too many cards"
},
"api_error_pretty_cards_card_is_connected_to_post": {
"code": 1902,
"description": "Card is connected to post"
},
"api_error_callback_api_servers_limit": {
"code": 2000,
"description": "Servers number limit is reached"
},
"api_error_stickers_not_purchased": {
"code": 2100,
"description": "Stickers are not purchased"
},
"api_error_stickers_too_many_favorites": {
"code": 2101,
"description": "Too many favorite stickers"
},
"api_error_stickers_not_favorite": {
"code": 2102,
"description": "Stickers are not favorite"
},
"api_error_wall_check_link_cant_determine_source": {
"code": 3102,
"description": "Specified link is incorrect (can't find source)"
},
"api_error_recaptcha": {
"code": 3300,
"description": "Recaptcha needed",
"global": true
},
"api_error_phone_validation_need": {
"code": 3301,
"description": "Phone validation needed",
"global": true
},
"api_error_password_validation_need": {
"code": 3302,
"description": "Password validation needed",
"global": true
},
"api_error_otp_validation_need": {
"code": 3303,
"description": "Otp app validation needed",
"global": true
},
"api_error_email_confirmation_need": {
"code": 3304,
"description": "Email confirmation needed",
"global": true
},
"api_error_assert_votes": {
"code": 3305,
"description": "Assert votes",
"global": true
},
"api_error_token_extension_required": {
"code": 3609,
"description": "Token extension required",
"global": true
},
"api_error_user_deactivated": {
"code": 3610,
"description": "User is deactivated",
"global": true
},
"api_error_user_service_deactivated": {
"code": 3611,
"description": "Service is deactivated for user",
"global": true
},
"api_error_fave_aliexpress_tag": {
"code": 3800,
"description": "Can't set AliExpress tag to this type of object"
}
}
}