@zaisma/cli 0.44.0 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,341 @@
1
+ <!-- Made by scripts/build-skill.mjs: never edit it by hand. -->
2
+
3
+ # Error codes
4
+
5
+ Every error the developer API and MCP answer with, as `{ "error": { code, message, field, fix, message_for_people, retry_after_sec, help_url } }`. A thrown error's own `fix` is more specific than the general one here: do what it says first. Each code's page is at `help_url`.
6
+
7
+ ## Signing in and requests
8
+
9
+ - `no_key` (HTTP 401): The MCP was called without an API key or a connected app's token. Fix: Send an API key as Authorization: Bearer <key>, made on zaisma.com/account, or connect the MCP at https://zaisma.com/mcp and sign in. https://zaisma.com/developers/errors/no_key
10
+ - `bad_key` (HTTP 401): The API key isn't valid: removed, mistyped or never made. Fix: Make a new API key on zaisma.com/account and send it as Authorization: Bearer <key>. https://zaisma.com/developers/errors/bad_key
11
+ - `key_turned_off` (HTTP 401): The API key was found in public and turned off for good. Fix: Make a new API key on zaisma.com/account and keep it out of public files, like a game's code or a public repository. https://zaisma.com/developers/errors/key_turned_off
12
+ - `key_ended` (HTTP 401): The API key reached the end date it was made with. Fix: Make a new API key on zaisma.com/account, with a later end date or none. https://zaisma.com/developers/errors/key_ended
13
+ - `access_token_ended` (HTTP 401): A connected app's access token is past its hour; the app refreshes it by itself. Fix: Refresh the token with the refresh token from the sign-in, as the MCP app does by itself, or connect the app again. https://zaisma.com/developers/errors/access_token_ended
14
+ - `token_not_for_api` (HTTP 401): A connected app's token works only at the MCP, not the REST API. Fix: Call the MCP at https://zaisma.com/mcp with this token, or make an API key on zaisma.com/account for the REST API. https://zaisma.com/developers/errors/token_not_for_api
15
+ - `signed_out` (HTTP 401): No API key, and no signed-in session. Fix: Send an API key as Authorization: Bearer <key>, or sign in on zaisma.com first. https://zaisma.com/developers/errors/signed_out
16
+ - `no_account` (HTTP 401): The account isn't finished yet. Fix: Finish making the account on zaisma.com/join, then call again. https://zaisma.com/developers/errors/no_account
17
+ - `bad_origin` (HTTP 403): A call with a session came from another site. Fix: Call the API with an API key from your own server or tools, never with a zaisma.com session from another site. https://zaisma.com/developers/errors/bad_origin
18
+ - `key_not_allowed` (HTTP 403): The API key is limited to other games, or its access doesn't cover the call. Fix: Call get_access to see what the key covers, then make a key on zaisma.com/account with the games and access this call needs. https://zaisma.com/developers/errors/key_not_allowed
19
+ - `slow_down` (HTTP 429): Too many calls in a minute. Fix: Wait retry_after_sec seconds, then call again, and space calls out from then on. https://zaisma.com/developers/errors/slow_down
20
+ - `not_found` (HTTP 404): There's no API call at that path. Fix: Check the path against docs/DEVELOPER-API.md: every path starts with /api/dev, like GET /api/dev/games. https://zaisma.com/developers/errors/not_found
21
+ - `bad_method` (HTTP 405): The path doesn't take that method. Fix: Send the call with a method the path takes, as docs/DEVELOPER-API.md lists it. https://zaisma.com/developers/errors/bad_method
22
+ - `gone` (HTTP 410): The call was removed, like the first feedback calls. Fix: Use the call the message names instead, as docs/DEVELOPER-API.md lists it. https://zaisma.com/developers/errors/gone
23
+ - `bad_json` (HTTP 400): The body isn't a JSON object. Fix: Send the body as one JSON object with Content-Type: application/json. https://zaisma.com/developers/errors/bad_json
24
+ - `json_too_big` (HTTP 413): The JSON body is over the call's size limit. Fix: Send less in one call, in parts, or use the upload command for files. https://zaisma.com/developers/errors/json_too_big
25
+ - `wrong_shape` (HTTP 400): A field that isn't the type or size its call takes, refused before any of the call's own code runs. Fix: Change the field named in field to the type and size the call takes, as the MCP tool's input schema says. https://zaisma.com/developers/errors/wrong_shape
26
+ - `unknown_field` (HTTP 400): A field, argument or query parameter the call doesn't take. Fix: Leave out the field named in field: the MCP tool's input schema lists every field the call takes. https://zaisma.com/developers/errors/unknown_field
27
+ - `missing_field` (HTTP 400): A field the call needs wasn't sent. Fix: Send the field named in field, as the MCP tool's input schema says. https://zaisma.com/developers/errors/missing_field
28
+ - `wrong_id_kind` (HTTP 400): An ID of another kind was sent, like an image ID as version_id. Fix: Send an ID of the kind the field names, like a version_… ID as version_id, from the call that answered it. https://zaisma.com/developers/errors/wrong_id_kind
29
+ - `internal_error` (HTTP 500): Something broke on Zaisma's side. Fix: Call again in a minute, and if it keeps happening, tell Zaisma with message_zaisma, kind bug. https://zaisma.com/developers/errors/internal_error
30
+
31
+ ## Games
32
+
33
+ - `no_game` (HTTP 404): You have no game with that slug. Fix: Call list_games for your games' slugs, then call again with one of them. https://zaisma.com/developers/errors/no_game
34
+ - `bad_slug` (HTTP 400): The link name isn't lowercase letters, numbers and single hyphens, or is reserved. Fix: Give a slug of lowercase letters, numbers and single hyphens, like space-race, that isn't one Zaisma keeps. https://zaisma.com/developers/errors/bad_slug
35
+ - `slug_taken` (HTTP 409): Another game has that link name, or a deleted game had it. Fix: Give create_game another slug, or leave slug out to have one made from the title. https://zaisma.com/developers/errors/slug_taken
36
+ - `too_many_games` (HTTP 403): The account has as many games as it can have. Fix: Delete a game you don't need with delete_game, then make the new one. https://zaisma.com/developers/errors/too_many_games
37
+ - `account_banned` (HTTP 403): Zaisma banned the account's developer side, or the whole account: only get_access, list_games and export_game work, and for a whole-account ban nothing does. Fix: Export your games with export_game to keep them, and read the ban's reason in get_access. https://zaisma.com/developers/errors/account_banned
38
+ - `account_paused` (HTTP 403): A person at Zaisma needs to look at the account: until then it can't make, upload or publish games, or post on the forum. Fix: Wait for a person at Zaisma to look at the account; get_access says why it's paused, and message_zaisma reaches them. https://zaisma.com/developers/errors/account_paused
39
+ - `publishing_not_open` (HTTP 403): Until the beta, only accounts Zaisma adds can make, upload and publish games. Fix: Call get_access to see can_publish, and ask Zaisma for access with message_zaisma until the beta opens. https://zaisma.com/developers/errors/publishing_not_open
40
+ - `bad_title` (HTTP 400): A game's, topic's or precedent's title is empty or too long. Fix: Give a title that isn't empty and fits the field's length, as the input schema says. https://zaisma.com/developers/errors/bad_title
41
+ - `title_names_zaisma` (HTTP 400): A game's title holds the whole word Zaisma, which only Zaisma's own games can use. Fix: Give the game a title without the word Zaisma. https://zaisma.com/developers/errors/title_names_zaisma
42
+ - `bad_description` (HTTP 400): The description isn't text of up to 500 characters. Fix: Give a description of up to 500 characters of plain text. https://zaisma.com/developers/errors/bad_description
43
+ - `bad_visibility` (HTTP 400): visibility isn't draft, listed, unlisted or private. Fix: Give visibility as listed, unlisted, private or draft. https://zaisma.com/developers/errors/bad_visibility
44
+ - `bad_devices` (HTTP 400): devices isn't a list of phone, tablet and computer. Fix: Give devices as a list from phone, tablet and computer. https://zaisma.com/developers/errors/bad_devices
45
+ - `bad_genres` (HTTP 400): genres isn't a list of up to 3 of Zaisma's genres. Fix: Give genres as a list of up to 3 of the genres update_game's input schema lists. https://zaisma.com/developers/errors/bad_genres
46
+ - `bad_controls` (HTTP 400): controls isn't a list of touch, keyboard_mouse and gamepad. Fix: Give controls as a list from touch, keyboard_mouse and gamepad. https://zaisma.com/developers/errors/bad_controls
47
+ - `bad_screen_orientation` (HTTP 400): screen_orientation isn't portrait, landscape, either or null. Fix: Give screen_orientation as portrait, landscape, either or null. https://zaisma.com/developers/errors/bad_screen_orientation
48
+ - `bad_play_modes` (HTTP 400): play_modes isn't a list of play modes, or one of them is wrong. Fix: Fix the play mode named in field, as update_game's input schema shows, like { "mode": "online", "minimum_player_count": 2, "maximum_player_count": 4, "play_style": "co-op" }. https://zaisma.com/developers/errors/bad_play_modes
49
+ - `bad_cloud_saves_enabled` (HTTP 400): cloud_saves_enabled isn't true or false. Fix: Give cloud_saves_enabled as true or false. https://zaisma.com/developers/errors/bad_cloud_saves_enabled
50
+ - `bad_account_offer_enabled` (HTTP 400): account_offer_enabled isn't true or false. Fix: Give account_offer_enabled as true or false. https://zaisma.com/developers/errors/bad_account_offer_enabled
51
+ - `bad_deleted_account_erase_enabled` (HTTP 400): deleted_account_erase_enabled isn't true or false. Fix: Give deleted_account_erase_enabled as true or false. https://zaisma.com/developers/errors/bad_deleted_account_erase_enabled
52
+ - `bad_friend_joins_enabled` (HTTP 400): friend_joins_enabled isn't true or false. Fix: Give friend_joins_enabled as true or false. https://zaisma.com/developers/errors/bad_friend_joins_enabled
53
+ - `bad_performance_measuring_enabled` (HTTP 400): performance_measuring_enabled isn't true or false. Fix: Give performance_measuring_enabled as true or false. https://zaisma.com/developers/errors/bad_performance_measuring_enabled
54
+ - `bad_room_browsing` (HTTP 400): room_browsing isn't page, game or off. Fix: Give room_browsing as page, game or off. https://zaisma.com/developers/errors/bad_room_browsing
55
+ - `bad_multiplayer_mode` (HTTP 400): multiplayer_mode isn't none, relay or own. Fix: Give multiplayer_mode as none, relay or own. https://zaisma.com/developers/errors/bad_multiplayer_mode
56
+ - `bad_account_requirement` (HTTP 400): account_requirement isn't none, multiplayer or whole_game. Fix: Give account_requirement as none, multiplayer or whole_game. https://zaisma.com/developers/errors/bad_account_requirement
57
+ - `bad_minimum_player_age` (HTTP 400): minimum_player_age_years isn't 13, 16 or 18. Fix: Give minimum_player_age_years as 13, 16 or 18. https://zaisma.com/developers/errors/bad_minimum_player_age
58
+ - `accounts_needed_for_minimum_age` (HTTP 400): A game for 16 or 18 and up needs account_requirement whole_game, since only accounts have an age. Fix: Call update_game with account_requirement whole_game in the same call as a minimum age of 16 or 18. https://zaisma.com/developers/errors/accounts_needed_for_minimum_age
59
+ - `content_needs_minimum_age` (HTTP 409): A version shows lifelike gore, which plays only in games for 16 and up. Fix: Call update_game with minimum_player_age_years 16 or 18 and account_requirement whole_game, or upload a version without lifelike gore. https://zaisma.com/developers/errors/content_needs_minimum_age
60
+ - `gallery_picture_needed` (HTTP 409): A listed game needs at least one gallery picture. Fix: Add a gallery picture with add_image, kind screenshot, then list the game again. https://zaisma.com/developers/errors/gallery_picture_needed
61
+ - `bad_links` (HTTP 400): links isn't a list of up to 20 { link_name, destination_url, is_on_game_page } with names of their own and https addresses that aren't link shorteners, IP addresses, addresses with a user name, or on Zaisma's own domains. Fix: Give links as a list of up to 20 { link_name, destination_url, is_on_game_page }, each with its own name and an https address on a name of its own. https://zaisma.com/developers/errors/bad_links
62
+ - `bad_own_server_urls` (HTTP 400): own_server_urls isn't a list of up to 5 server addresses like wss://play.example.com, or one is an IP address, this computer or on Zaisma's own domains. Fix: Give own_server_urls as up to 5 addresses like wss://play.example.com, on a name of your own. https://zaisma.com/developers/errors/bad_own_server_urls
63
+ - `bad_game_server_allowed_hosts` (HTTP 400): game_server_allowed_hosts isn't a list of up to 20 host names (like discord.com or *.example.com), or one is an IP address or on Zaisma's own domains. Fix: Give game_server_allowed_hosts as up to 20 host names like discord.com or *.example.com, with no IP addresses or Zaisma domains. https://zaisma.com/developers/errors/bad_game_server_allowed_hosts
64
+ - `built_in_server` (HTTP 403): The game runs a game server built into Zaisma, which only Zaisma changes. Fix: Leave the game's server settings as they are, and ask Zaisma with message_zaisma if one needs to change. https://zaisma.com/developers/errors/built_in_server
65
+ - `game_removed` (HTTP 403): Zaisma took the game down, so this can't change. Fix: Read the takedown's review_reason with get_game, and ask Zaisma with message_zaisma if it's unclear. https://zaisma.com/developers/errors/game_removed
66
+ - `needs_confirm` (HTTP 409): Hiding a game players can play, or ending a live room, needs the developer's OK. Fix: Ask the developer, then call again with "confirm": true. https://zaisma.com/developers/errors/needs_confirm
67
+ - `bad_period_duration_days` (HTTP 400): period_duration_days isn't a whole number from 1 to 90. Fix: Give period_duration_days as a whole number from 1 to 90. https://zaisma.com/developers/errors/bad_period_duration_days
68
+ - `bad_cursor` (HTTP 400): cursor isn't a next_cursor from an earlier answer. Fix: Give cursor as the next_cursor of the last answer, or leave it out to start from the top. https://zaisma.com/developers/errors/bad_cursor
69
+
70
+ ## Players
71
+
72
+ - `no_player` (HTTP 404): No account has that player ID: a guest's, or a deleted account's. Fix: Use a player ID from an account, like one from list_purchases or the game server's player pass, not a guest's. https://zaisma.com/developers/errors/no_player
73
+
74
+ ## Covers, gallery pictures, backgrounds and other images
75
+
76
+ - `bad_kind` (HTTP 400): kind isn't one of the choices the call takes. Fix: Give kind as one of the choices the call's input schema lists. https://zaisma.com/developers/errors/bad_kind
77
+ - `not_an_image` (HTTP 415): The file isn't an image of a type the call takes. Fix: Send a PNG, WebP or JPEG, as base64 or a file. https://zaisma.com/developers/errors/not_an_image
78
+ - `image_too_big` (HTTP 413): The image is over 10 MB. Fix: Send the image at up to 10 MB, as WebP or a smaller JPEG. https://zaisma.com/developers/errors/image_too_big
79
+ - `bad_image_dimensions` (HTTP 400): The image is smaller than its kind's least size (a cover or gallery picture 1280 by 720, a square cover 512, a share picture 600 by 315), or over 8,192 px on a side. Fix: Send the image at its kind's size: at least 1280 by 720 for a cover or gallery picture, 512 for a square cover, 600 by 315 for a share picture, and at most 8,192 px a side. https://zaisma.com/developers/errors/bad_image_dimensions
80
+ - `not_square` (HTTP 400): A square cover isn't as wide as it is tall. Fix: Crop the square cover to as wide as it is tall, at least 512 px a side. https://zaisma.com/developers/errors/not_square
81
+ - `too_many_gallery_pictures` (HTTP 400): The game has 8 gallery pictures already. Fix: Remove a gallery picture with remove_image before adding another. https://zaisma.com/developers/errors/too_many_gallery_pictures
82
+ - `image_refused` (HTTP 422): The image can't be used. Fix: Read the image's review_reason with get_game and send another image that keeps to the cover guide at zaisma.com/developers/covers. https://zaisma.com/developers/errors/image_refused
83
+ - `no_image` (HTTP 404): The game has no image with that ID. Fix: Call get_game for the game's image IDs, then call again with one of them. https://zaisma.com/developers/errors/no_image
84
+ - `no_file` (HTTP 400): A form on Zaisma's pages was sent without its image. Fix: Pick an image in the form and send it again. https://zaisma.com/developers/errors/no_file
85
+ - `bad_background_shape` (HTTP 400): A wide background is landscape (1.3 to 2.4 times as wide as tall), a phone background portrait (1.6 to 2.4 times as tall as wide), and its long side at least 1600 px. Fix: Send a wide background 1.3 to 2.4 times as wide as tall, or a phone background 1.6 to 2.4 times as tall as wide, with its long side at least 1600 px. https://zaisma.com/developers/errors/bad_background_shape
86
+ - `not_a_shader` (HTTP 400): A shader's pass isn't GLSL text with a mainImage function, or has its own main(), a #version or #extension line, texture2D, iMouse or sound. Fix: Write each pass as GLSL with a mainImage function, without main(), #version, #extension, texture2D, iMouse or sound, and test it with check_shader. https://zaisma.com/developers/errors/not_a_shader
87
+ - `shader_too_big` (HTTP 413): A shader's pass is over 64 KB. Fix: Keep each pass under 64 KB, moving work into buffers if needed. https://zaisma.com/developers/errors/shader_too_big
88
+ - `bad_buffers` (HTTP 400): buffers isn't a list of { buffer_name, source, channels } with buffer_name a, b, c or d, each once. Fix: Give buffers as a list of { buffer_name, source, channels } with buffer_name a, b, c or d, each once. https://zaisma.com/developers/errors/bad_buffers
89
+ - `too_many_buffers` (HTTP 400): A shader has more than 4 buffers. Fix: Give a shader at most 4 buffers, a to d. https://zaisma.com/developers/errors/too_many_buffers
90
+ - `bad_shader_channel` (HTTP 400): A channel isn't { channel_index 0 to 3, input_kind, buffer_name or image_id, filter, wrap }, names a buffer the shader doesn't have, or a texture that isn't an approved shader_texture of the game. Fix: Give each channel as { channel_index, input_kind, buffer_name or image_id, filter, wrap }, naming a buffer the shader has or an approved shader_texture image. https://zaisma.com/developers/errors/bad_shader_channel
91
+ - `shader_texture_too_big` (HTTP 413): A shader texture is over 8 MB, or over 4,096 px on a side. Fix: Send the texture at up to 8 MB and 4,096 px a side. https://zaisma.com/developers/errors/shader_texture_too_big
92
+ - `too_many_shader_textures` (HTTP 400): The game has 16 shader textures already, or a shader's channels name more than 4. Fix: Remove a shader texture with remove_image, or give a shader's channels at most 4 textures. https://zaisma.com/developers/errors/too_many_shader_textures
93
+ - `shader_texture_in_use` (HTTP 409): A shader the game keeps reads this texture. Fix: Remove the shaders that read the texture with remove_shader first. https://zaisma.com/developers/errors/shader_texture_in_use
94
+ - `daily_shader_checks_used` (HTTP 429): The account has run 100 shader checks in the last day. Fix: Wait for the oldest check to pass a day, after retry_after_sec, or check the shader on your own computer with npx @zaisma/cli check. https://zaisma.com/developers/errors/daily_shader_checks_used
95
+ - `daily_page_previews_used` (HTTP 429): The account has run every page preview its plan has in the last day (20, or 60 with Pro). Fix: Wait retry_after_sec seconds for the oldest preview to pass a day, or start Zaisma Pro with start_pro for 60 a day. https://zaisma.com/developers/errors/daily_page_previews_used
96
+ - `page_preview_unavailable` (HTTP 503): Zaisma can't open pages in Chrome right now, so it can't picture them. Fix: Call preview_game_page again in a few minutes. https://zaisma.com/developers/errors/page_preview_unavailable
97
+ - `bad_page_preview_images` (HTTP 400): images isn't a list of up to 8 { kind, image_base64 } or { kind, image_id }, with kind cover, share, screenshot, background or phone_background. Fix: Give images as up to 8 { kind, image_base64 } or { kind, image_id }, with kind cover, share, screenshot, background or phone_background. https://zaisma.com/developers/errors/bad_page_preview_images
98
+ - `bad_page_preview_shaders` (HTTP 400): shaders isn't a list of { screen, image, buffers } with each screen at most once. Fix: Give shaders as a list of { screen, image, buffers }, each screen at most once. https://zaisma.com/developers/errors/bad_page_preview_shaders
99
+ - `shader_check_unavailable` (HTTP 503): Zaisma can't draw shaders here right now, so it can't check one. Fix: Call check_shader again in a few minutes, or check it on your own computer with npx @zaisma/cli check. https://zaisma.com/developers/errors/shader_check_unavailable
100
+ - `no_shader` (HTTP 404): The game has no shader with that ID. Fix: Call get_game for the game's shader IDs, then call again with one of them. https://zaisma.com/developers/errors/no_shader
101
+ - `bad_screen` (HTTP 400): screen isn't wide or phone. Fix: Give screen as wide or phone. https://zaisma.com/developers/errors/bad_screen
102
+ - `bad_background_source` (HTTP 400): source isn't zaisma, image or shader, or wide (which only phone takes). Fix: Give source as zaisma, image or shader, or wide for the phone screen only. https://zaisma.com/developers/errors/bad_background_source
103
+ - `background_not_ready` (HTTP 409): The image or shader isn't this game's, isn't approved yet, or is for the other screen. Fix: Wait until get_game shows the image or shader approved for this screen, then call set_background again. https://zaisma.com/developers/errors/background_not_ready
104
+ - `bad_color` (HTTP 400): The color isn't #RRGGBB. Fix: Give the color as #RRGGBB, like #1A2B3C. https://zaisma.com/developers/errors/bad_color
105
+
106
+ ## Uploading versions
107
+
108
+ - `bad_files` (HTTP 400): files isn't a list of files in the shape the call takes. Fix: Give files as a list of { path, content_base64 } or { path, size_bytes, sha256 }, as the call's input schema shows. https://zaisma.com/developers/errors/bad_files
109
+ - `bad_path` (HTTP 400): A file's path is absolute, has . or .. in it, has control characters or is over 200 characters. Fix: Give each file a relative path like assets/hero.png, without . or .. parts, control characters or more than 200 characters. https://zaisma.com/developers/errors/bad_path
110
+ - `hidden_file` (HTTP 400): A file or folder's name starts with a dot. Fix: Leave out files and folders whose names start with a dot, or rename the ones the game needs. https://zaisma.com/developers/errors/hidden_file
111
+ - `precompressed_file` (HTTP 400): A file is pre-compressed (.gz or .br). Fix: Upload with npx @zaisma/cli upload, which unpacks .gz and .br files, or send them unpacked. https://zaisma.com/developers/errors/precompressed_file
112
+ - `file_type_not_allowed` (HTTP 400): A file is of a type games can't have. Fix: Leave the file out, or change it to a type games can have, as check_game lists them. https://zaisma.com/developers/errors/file_type_not_allowed
113
+ - `file_too_big` (HTTP 413): A file is over 500 MB. Fix: Split the file into pieces of up to 500 MB that the game loads one by one. https://zaisma.com/developers/errors/file_too_big
114
+ - `duplicate_path` (HTTP 400): Two files share a path. Fix: Send each path once. https://zaisma.com/developers/errors/duplicate_path
115
+ - `no_index_html` (HTTP 400): There's no index.html at the top of the game. Fix: Put an index.html at the top of the game's folder, the page Zaisma opens first. https://zaisma.com/developers/errors/no_index_html
116
+ - `too_many_files` (HTTP 400): The game has more than 20,000 files. Fix: Pack small files together, like sprites into atlases, to keep the game under 20,000 files. https://zaisma.com/developers/errors/too_many_files
117
+ - `storage_full` (HTTP 413): The upload doesn't fit in what the account can store. Fix: Delete old versions with delete_version, raise the storage budget with set_storage_budget, or start Zaisma Pro for more storage. https://zaisma.com/developers/errors/storage_full
118
+ - `new_data_limit` (HTTP 429): The account has sent all the new data it can today, counted from UTC midnight. Fix: Wait until UTC midnight, after retry_after_sec, and send only changed files, as npx @zaisma/cli upload does. https://zaisma.com/developers/errors/new_data_limit
119
+ - `too_big_for_mcp` (HTTP 413): upload_files and check_game take up to 5 MB; bigger builds go through the upload command. Fix: Run npx @zaisma/cli upload <folder> --game <slug> in a terminal with ZAISMA_KEY set instead. https://zaisma.com/developers/errors/too_big_for_mcp
120
+ - `bad_base64` (HTTP 400): Something sent as base64 isn't valid base64. Fix: Encode the content as standard base64 and send it again. https://zaisma.com/developers/errors/bad_base64
121
+ - `files_missing` (HTTP 409): Some of the version's files haven't been sent yet. Fix: Send the files the answer lists, then finish the version again. https://zaisma.com/developers/errors/files_missing
122
+ - `bad_patch_notes` (HTTP 400): patch_notes isn't text of up to 2,000 characters, or a publish changed them on a version that has been live. Fix: Give patch_notes as up to 2,000 characters, and only with a version going live for the first time. https://zaisma.com/developers/errors/bad_patch_notes
123
+ - `bad_is_big_update` (HTTP 400): is_big_update isn't true or false, or an upload sent it without publish_when_approved. Fix: Give is_big_update as true or false, and with an upload only beside publish_when_approved true. https://zaisma.com/developers/errors/bad_is_big_update
124
+ - `big_update_needs_patch_notes` (HTTP 400): A big update has no patch_notes, and a big update must say what's new. Fix: Send patch_notes saying what's new beside is_big_update true. https://zaisma.com/developers/errors/big_update_needs_patch_notes
125
+ - `big_update_already_live` (HTTP 400): The version has been live already, and only a version going live for the first time can be a big update. Fix: Publish it as a quiet patch without is_big_update, or upload a new version for the big update. https://zaisma.com/developers/errors/big_update_already_live
126
+ - `bad_publish_when_approved` (HTTP 400): publish_when_approved isn't true or false. Fix: Give publish_when_approved as true or false. https://zaisma.com/developers/errors/bad_publish_when_approved
127
+ - `bad_publish_after_ai_review_enabled` (HTTP 400): publish_after_ai_review_enabled isn't true or false, or it came with nothing to publish. Fix: Give publish_after_ai_review_enabled as true or false, beside a version to publish. https://zaisma.com/developers/errors/bad_publish_after_ai_review_enabled
128
+ - `bad_match_update_mode` (HTTP 400): match_update_mode isn't next_match or now, or it came without publish_when_approved. Fix: Give match_update_mode as next_match or now, and with an upload only beside publish_when_approved true. https://zaisma.com/developers/errors/bad_match_update_mode
129
+ - `version_limit` (HTTP 429): The game has had 100 versions in the last day. Fix: Wait retry_after_sec seconds for the oldest version to pass a day, and test locally with npx @zaisma/cli play-locally in between. https://zaisma.com/developers/errors/version_limit
130
+ - `version_in_use` (HTTP 409): The version can't be deleted: it's live, set to publish, or a tester link picked it. Fix: Publish another version, cancel the scheduled publish or change the tester link first, then delete it. https://zaisma.com/developers/errors/version_in_use
131
+ - `kept_for_review` (HTTP 403): The version or game is kept for a person at Zaisma, so it can't be deleted. Fix: Wait for the person at Zaisma to finish, as get_version or get_game says. https://zaisma.com/developers/errors/kept_for_review
132
+ - `bad_confirm_slug` (HTTP 400): confirm_slug isn't the game's link name. Fix: Give confirm_slug as the game's own slug, exactly. https://zaisma.com/developers/errors/bad_confirm_slug
133
+ - `not_waiting_to_erase` (HTTP 409): The game isn't deleted and waiting to be erased, so there's nothing to bring back or erase now. Fix: Call get_game to see the game's state: only a deleted game waiting its week can be brought back or erased now. https://zaisma.com/developers/errors/not_waiting_to_erase
134
+ - `already_erasing` (HTTP 409): The game's week is over and its erasing has started, so it can't be brought back. Fix: Make the game again with create_game and upload a version from your own copy. https://zaisma.com/developers/errors/already_erasing
135
+ - `played_by_others` (HTTP 409): Other people played this game, so it waits out its week before it's erased; only a game nobody but its developer played can be erased at once. Fix: Let the game wait out its week, or ask the developer to confirm erasing it now on zaisma.com. https://zaisma.com/developers/errors/played_by_others
136
+ - `no_game_deletion_request` (HTTP 404): This game has no deletion request with that ID. Fix: Use the game_deletion_request_id from the confirmation_needed answer, or call delete_game again. https://zaisma.com/developers/errors/no_game_deletion_request
137
+ - `bad_monthly_storage_budget_cents` (HTTP 400): monthly_storage_budget_cents isn't null or a whole number from 100 to 1,000,000. Fix: Give monthly_storage_budget_cents as null or a whole number from 100 to 1,000,000. https://zaisma.com/developers/errors/bad_monthly_storage_budget_cents
138
+ - `no_content_length` (HTTP 411): A file was sent without a Content-Length header. Fix: Send the file with a Content-Length header, as npx @zaisma/cli upload does. https://zaisma.com/developers/errors/no_content_length
139
+ - `file_needs_parts` (HTTP 413): A file over 95 MB was sent in one go. Fix: Send files over 95 MB in parts, as the upload answer's part size says, or use npx @zaisma/cli upload. https://zaisma.com/developers/errors/file_needs_parts
140
+ - `no_body` (HTTP 400): A file was sent without a body. Fix: Send the file's bytes as the request's body. https://zaisma.com/developers/errors/no_body
141
+ - `hash_mismatch` (HTTP 400): A file doesn't match the SHA-256 it was sent as. Fix: Hash the exact bytes you send with SHA-256 and send the file again. https://zaisma.com/developers/errors/hash_mismatch
142
+ - `forbidden_file` (HTTP 400): A file is a program or an archive, whatever its name says. Fix: Leave programs and archives out of the game, or unpack the archive into the folder. https://zaisma.com/developers/errors/forbidden_file
143
+ - `bad_size_bytes` (HTTP 400): size_bytes isn't a whole number above 0. Fix: Give size_bytes as the file's size in bytes, a whole number above 0. https://zaisma.com/developers/errors/bad_size_bytes
144
+ - `bad_part_number` (HTTP 400): A part's number isn't from 1 to 10,000. Fix: Number parts from 1 to 10,000, in order. https://zaisma.com/developers/errors/bad_part_number
145
+ - `no_upload_id` (HTTP 400): A part was sent without its upload_id. Fix: Send the upload_id the start of the upload answered with each part. https://zaisma.com/developers/errors/no_upload_id
146
+ - `bad_part_size` (HTTP 400): A part is empty, over 50 MB or has no Content-Length header. Fix: Send each part with a Content-Length header, from 1 byte to 50 MB. https://zaisma.com/developers/errors/bad_part_size
147
+ - `upload_closed` (HTTP 400): The upload_id isn't an open upload any more. Fix: Start the file's upload again for a new upload_id. https://zaisma.com/developers/errors/upload_closed
148
+ - `bad_parts` (HTTP 400): The finishing call isn't { upload_id, parts: [{ part_number, etag }] }. Fix: Finish with { upload_id, parts: [{ part_number, etag }] }, each part's etag as its upload answered. https://zaisma.com/developers/errors/bad_parts
149
+ - `parts_incomplete` (HTTP 400): The parts sent don't make a whole file. Fix: Send the missing parts, then finish the file again. https://zaisma.com/developers/errors/parts_incomplete
150
+
151
+ ## Versions and publishing
152
+
153
+ - `no_version` (HTTP 404): The game has no version with that ID. Fix: Call get_game for the game's version IDs, then call again with one of them. https://zaisma.com/developers/errors/no_version
154
+ - `bad_time` (HTTP 400): A time isn't an ISO time in the range it takes: scheduled_publish_at from a few minutes to 90 days ahead, a tester link's ends_at from now to a year ahead, a database restore's restore_to_at within the last 30 days and not before the game was made, a room message's send_at from 10 seconds to 90 days ahead, and a What's on entry's starts_at from an hour ago to 90 days ahead and its ends_at after now and starts_at and at most 60 days after it. Fix: Give an ISO time in UTC within the range the field takes, like "2026-11-01T17:00:00Z". https://zaisma.com/developers/errors/bad_time
155
+ - `still_scanning` (HTTP 409): The version is still being scanned. Fix: Wait retry_after_sec seconds, then call get_version until the scan has finished. https://zaisma.com/developers/errors/still_scanning
156
+ - `not_approved` (HTTP 409): The version didn't pass review, so it can't be published. Fix: Read the version's review_reason and findings with get_version, fix what they say and upload a new version. https://zaisma.com/developers/errors/not_approved
157
+
158
+ ## Tester links
159
+
160
+ - `bad_name` (HTTP 400): A tester link's or sign-in app's name isn't 1 to 60 characters, or a sign-in app's says Zaisma. Fix: Give a name of 1 to 60 characters, and for a sign-in app one without the word Zaisma. https://zaisma.com/developers/errors/bad_name
161
+ - `too_many_tester_links` (HTTP 403): The game has 50 tester links on already. Fix: Remove a tester link you don't need with remove_tester_link first. https://zaisma.com/developers/errors/too_many_tester_links
162
+ - `no_tester_link` (HTTP 404): The game has no tester link on with that ID. Fix: Call get_game for the game's tester link IDs, then call again with one of them. https://zaisma.com/developers/errors/no_tester_link
163
+ - `bad_version_choice` (HTTP 400): version_choice isn't live, newest_passed or picked, or picked_version_id doesn't go with it. Fix: Give version_choice as live, newest_passed or picked, and picked_version_id only with picked. https://zaisma.com/developers/errors/bad_version_choice
164
+
165
+ ## Sign in with Zaisma
166
+
167
+ - `bad_redirect_urls` (HTTP 400): redirect_urls isn't a list of 1 to 10 https URLs (http only for localhost) without #fragments. Fix: Give redirect_urls as 1 to 10 https addresses without #fragments, or http only for localhost. https://zaisma.com/developers/errors/bad_redirect_urls
168
+ - `bad_replace_client_secret` (HTTP 400): replace_client_secret isn't true or false, or the app is public and has no client secret. Fix: Give replace_client_secret as true or false, and only for an app that has a client secret. https://zaisma.com/developers/errors/bad_replace_client_secret
169
+ - `too_many_sign_in_apps` (HTTP 403): The account has 20 sign-in apps already. Fix: Delete a sign-in app you don't need with delete_sign_in_app first. https://zaisma.com/developers/errors/too_many_sign_in_apps
170
+ - `no_sign_in_app` (HTTP 404): You have no sign-in app with that ID. Fix: Call list_sign_in_apps for your apps' IDs, then call again with one of them. https://zaisma.com/developers/errors/no_sign_in_app
171
+
172
+ ## Webhooks
173
+
174
+ - `bad_destination_kind` (HTTP 400): destination_kind isn't endpoint_url or game_server. Fix: Give destination_kind as endpoint_url or game_server. https://zaisma.com/developers/errors/bad_destination_kind
175
+ - `bad_endpoint_url` (HTTP 400): endpoint_url isn't an https URL on a name (no IP address, user name or #fragment), or it's on Zaisma's own domains, or it's given for a webhook to a game server, which has none. Fix: Give endpoint_url as an https address on a name of your own, without a user name or #fragment, and none for a webhook to a game server. https://zaisma.com/developers/errors/bad_endpoint_url
176
+ - `bad_event_kinds` (HTTP 400): event_kinds isn't a list of 1 or more of the webhook event kinds. Fix: Give event_kinds as a list of 1 or more of the event kinds create_webhook's input schema lists. https://zaisma.com/developers/errors/bad_event_kinds
177
+ - `bad_game_slugs` (HTTP 400): game_slugs isn't null or a list of 1 to 50 of your games' slugs, or, for a webhook to a game server, a list of the one game whose server it is. Fix: Give game_slugs as null for every game, or 1 to 50 of your games' slugs, and for a webhook to a game server the one game whose server it is. https://zaisma.com/developers/errors/bad_game_slugs
178
+ - `bad_replace_signing_secret` (HTTP 400): replace_signing_secret isn't true or false. Fix: Give replace_signing_secret as true or false. https://zaisma.com/developers/errors/bad_replace_signing_secret
179
+ - `too_many_webhooks` (HTTP 403): The account has 10 webhooks already. Fix: Delete a webhook you don't need with delete_webhook first. https://zaisma.com/developers/errors/too_many_webhooks
180
+ - `no_webhook` (HTTP 404): You have no webhook with that ID. Fix: Call list_webhooks for your webhooks' IDs, then call again with one of them. https://zaisma.com/developers/errors/no_webhook
181
+
182
+ ## The game database
183
+
184
+ - `bad_sql` (HTTP 400): The SQL isn't one statement SQLite takes, or statements isn't a list of { sql, values }. Fix: Send one statement SQLite takes, with ? for each value, or statements as a list of { sql, values }. https://zaisma.com/developers/errors/bad_sql
185
+ - `bad_values` (HTTP 400): values isn't a list of text, numbers, null and { blob_base64 } for the SQL's ?s. Fix: Give values as a list of text, numbers, null and { blob_base64 }, one for each ? in the SQL. https://zaisma.com/developers/errors/bad_values
186
+ - `bad_player_id` (HTTP 400): player_id isn't a player ID (player_…). Fix: Give player_id as a player ID like player_…, from a player pass or a purchase. https://zaisma.com/developers/errors/bad_player_id
187
+ - `too_many_rows` (HTTP 400): A statement answered more than 10,000 rows. Fix: Add LIMIT and page through the rows, 10,000 at a time at most. https://zaisma.com/developers/errors/too_many_rows
188
+ - `integer_too_large` (HTTP 400): A statement answered a whole number past 2^53, which JavaScript can't hold exactly. Fix: Select the number as text with CAST(column AS TEXT). https://zaisma.com/developers/errors/integer_too_large
189
+ - `answer_too_big` (HTTP 400): The rows answered come to more than 8 MB. Fix: Select fewer columns or rows at once, with LIMIT and paging. https://zaisma.com/developers/errors/answer_too_big
190
+ - `database_full` (HTTP 403): The statement would grow the game's storage (its database and kept rooms) past the 10 GB a game can keep. Fix: Delete rows the game doesn't need, or delete kept rooms, to stay under 10 GB. https://zaisma.com/developers/errors/database_full
191
+ - `database_unavailable` (HTTP 503): The game's database didn't answer. Fix: Call again in a minute. https://zaisma.com/developers/errors/database_unavailable
192
+ - `database_restore_unavailable` (HTTP 501): This Zaisma's game databases can't go back in time: its storage keeps no history, like a local preview. Fix: Restore databases on zaisma.com, not on a local preview. https://zaisma.com/developers/errors/database_restore_unavailable
193
+ - `no_database_restore` (HTTP 404): The game has no database restore with that ID in the last 30 days. Fix: Call get_database for the restores of the last 30 days, then call again with one of their IDs. https://zaisma.com/developers/errors/no_database_restore
194
+ - `bad_secret_name` (HTTP 400): A secret's name isn't capitals, digits and underscores starting with a capital, up to 64 characters. Fix: Give the secret's name as capitals, digits and underscores starting with a capital, like DISCORD_TOKEN, up to 64 characters. https://zaisma.com/developers/errors/bad_secret_name
195
+ - `bad_secret_value` (HTTP 400): secret_value isn't text of up to 8 KB. Fix: Give secret_value as text of up to 8 KB. https://zaisma.com/developers/errors/bad_secret_value
196
+ - `no_secret` (HTTP 404): The game has no secret by that name. Fix: Call list_secrets for the game's secret names, then call again with one of them. https://zaisma.com/developers/errors/no_secret
197
+ - `too_many_secrets` (HTTP 403): The game has 50 secrets, the most it can have. Fix: Delete a secret the game doesn't need with delete_secret first. https://zaisma.com/developers/errors/too_many_secrets
198
+ - `secrets_unavailable` (HTTP 503): The game's secrets didn't answer. Fix: Call again in a minute. https://zaisma.com/developers/errors/secrets_unavailable
199
+ - `no_kept_room` (HTTP 404): The game has no kept room with that code. Fix: Call list_kept_rooms for the game's kept rooms' codes, then call again with one of them. https://zaisma.com/developers/errors/no_kept_room
200
+ - `no_kept_room_restore` (HTTP 404): The kept room has no restore with that ID in the last 30 days. Fix: Call list_kept_room_restores for the room's restores, then call again with one of their IDs. https://zaisma.com/developers/errors/no_kept_room_restore
201
+ - `no_kept_room_restore_batch` (HTTP 404): The game has no restore of every kept room with that ID in the last 30 days. Fix: Use the batch ID restore_every_kept_room answered, from the last 30 days. https://zaisma.com/developers/errors/no_kept_room_restore_batch
202
+ - `kept_room_restore_unavailable` (HTTP 501): This Zaisma's rooms can't go back in time: their storage keeps no history, like a local preview. Fix: Restore kept rooms on zaisma.com, not on a local preview. https://zaisma.com/developers/errors/kept_room_restore_unavailable
203
+ - `kept_room_restore_batch_running` (HTTP 409): The game's kept rooms are going back to a moment already, and one batch runs at a time. Fix: Wait for the running batch to finish, as get_kept_room_restore_batch says, then call again. https://zaisma.com/developers/errors/kept_room_restore_batch_running
204
+ - `kept_room_copies_unavailable` (HTTP 501): This Zaisma can't read its kept rooms' copies, so an erased kept room can't come back. Fix: Bring the world back on zaisma.com, not on a local preview. https://zaisma.com/developers/errors/kept_room_copies_unavailable
205
+ - `no_kept_room_copy` (HTTP 404): No copy of the deleted world is left: a copy lasts about 28 days after a world is deleted. Fix: Start the world again in a new room; no copy of it is left. https://zaisma.com/developers/errors/no_kept_room_copy
206
+ - `room_code_in_use` (HTTP 409): Another room of the game has that code now, so the deleted world can't come back under it. Fix: Wait until the room with that code ends, or end it with end_room, then call again. https://zaisma.com/developers/errors/room_code_in_use
207
+ - `game_storage_full` (HTTP 403): The deleted world doesn't fit in the 10 GB a game can keep. Fix: Delete rows or kept rooms the game doesn't need to make room under 10 GB, then call again. https://zaisma.com/developers/errors/game_storage_full
208
+ - `kept_room_not_waiting` (HTTP 409): The kept room isn't deleted and waiting to be erased, so there's nothing to bring back or erase now. Fix: Call list_kept_rooms to see the room's state: only a deleted room waiting its week can be brought back or erased now. https://zaisma.com/developers/errors/kept_room_not_waiting
209
+ - `kept_room_erasing` (HTTP 409): The kept room's week is over and its erasing has started: in a minute it comes back only from its last copy. Fix: Restore the world from its last copy with bring_back_kept_room in a minute. https://zaisma.com/developers/errors/kept_room_erasing
210
+
211
+ ## Reaching live rooms
212
+
213
+ - `no_room` (HTTP 404): The game has no live room with that code on Zaisma. Fix: Call list_rooms for the game's live rooms' codes, then call again with one of them. https://zaisma.com/developers/errors/no_room
214
+ - `no_player_in_room` (HTTP 404): That player isn't in the room now. Fix: Call get_room for the players in the room now, then call again with one of them. https://zaisma.com/developers/errors/no_player_in_room
215
+ - `bad_room_message` (HTTP 400): message isn't plain JSON of up to 16 KB. Fix: Give message as plain JSON of up to 16 KB. https://zaisma.com/developers/errors/bad_room_message
216
+ - `bad_labels` (HTTP 400): labels isn't a list of up to 4 labels, each { label_name, label_value } of text. Fix: Give labels as up to 4 { label_name, label_value }, each of text. https://zaisma.com/developers/errors/bad_labels
217
+ - `bad_kick_message` (HTTP 400): A kick's message isn't text of up to 200 characters. Fix: Give the kick's message as text of up to 200 characters. https://zaisma.com/developers/errors/bad_kick_message
218
+ - `bad_end_message` (HTTP 400): An end's message isn't text of up to 200 characters. Fix: Give the end's message as text of up to 200 characters. https://zaisma.com/developers/errors/bad_end_message
219
+ - `room_busy` (HTTP 429): The room took 100 room messages in the last second. Fix: Wait retry_after_sec seconds, and send the room fewer messages at once. https://zaisma.com/developers/errors/room_busy
220
+ - `every_room_send_limit` (HTTP 429): The game sent to every room 10 times in the last minute, from its game server, the API and the MCP together. Fix: Wait retry_after_sec seconds, and send to every room less often. https://zaisma.com/developers/errors/every_room_send_limit
221
+ - `too_many_scheduled_room_messages` (HTTP 409): The game has 100 scheduled room messages waiting, the most it can have. Fix: Cancel a scheduled message with cancel_room_message, or wait for some to be sent. https://zaisma.com/developers/errors/too_many_scheduled_room_messages
222
+ - `no_scheduled_room_message` (HTTP 404): The game has no scheduled room message with that ID waiting. Fix: Call list_room_messages for the waiting messages' IDs, then call again with one of them. https://zaisma.com/developers/errors/no_scheduled_room_message
223
+ - `dump_too_big` (HTTP 413): dump_sql is over 5 MB: import a dump in parts, each ending on a whole statement. Fix: Import the dump in parts of up to 5 MB, each ending on a whole statement, as npx @zaisma/cli database import does. https://zaisma.com/developers/errors/dump_too_big
224
+
225
+ ## Hosting and credit
226
+
227
+ - `hosting_paused` (HTTP 429): The game's hosting is paused this month: its free allowance, its budget or its developer's credit is used, or Zaisma's free hosting ran out and it has no budget with credit, or it has no real players and games with none used their share. It starts again when the month resets, the budget is raised or credit is added. Fix: Call get_credit to see why, then top up with top_up_credit, raise the game's budget with update_game, or wait for the next month. https://zaisma.com/developers/errors/hosting_paused
228
+ - `confirmation_needed` (HTTP 403): This needs the developer's passkey on zaisma.com (turning spending on or up, connecting a Stripe account, deleting a game other people played, or erasing a waiting game or kept room's world at once): confirm_url is where they do it. Fix: Show the developer confirm_url, where they confirm with their passkey, then check their answer with the request ID the error gives. https://zaisma.com/developers/errors/confirmation_needed
229
+ - `bad_monthly_budget_cents` (HTTP 400): monthly_budget_cents isn't a whole number of cents of at least 100 ($1), or null for no paid hosting. Fix: Give monthly_budget_cents as a whole number of cents of at least 100, or null for no paid hosting. https://zaisma.com/developers/errors/bad_monthly_budget_cents
230
+ - `bad_top_up_amount` (HTTP 400): amount_cents isn't a whole number of cents from 1,000 ($10) to 100,000 ($1,000). Fix: Give amount_cents as a whole number of cents from 1,000 to 100,000. https://zaisma.com/developers/errors/bad_top_up_amount
231
+ - `account_not_protected` (HTTP 403): The account has no passkey and no email yet, and a top-up keeps a card, so it needs one of them first: add a passkey or an email on zaisma.com/account. Fix: Ask the developer to add a passkey or an email on zaisma.com/account, then top up again. https://zaisma.com/developers/errors/account_not_protected
232
+ - `money_paused` (HTTP 423): Top-ups and credit refunds on this account passed USD 2,000.00 in a day, so both are paused until a person at Zaisma looks. Credit already there keeps working. The developer gets an email when they're on again. Fix: Wait for the email saying top-ups are on again; credit already there keeps working. https://zaisma.com/developers/errors/money_paused
233
+ - `new_payer_limit` (HTTP 403): A new account, or an account with a newly saved card, pays up to USD 100.00 in all, buys and credit together, in its first 7 days; this payment would go past it. The message says the day it lifts. Fix: Wait until the day the message names, or pay less now. https://zaisma.com/developers/errors/new_payer_limit
234
+ - `no_top_up` (HTTP 404): You have no top-up with that ID. Fix: Call get_credit for the account's top-ups, then call again with one of their IDs. https://zaisma.com/developers/errors/no_top_up
235
+ - `no_spending_request` (HTTP 404): You have no spending request with that ID. Fix: Use the spending_request_id from the confirmation_needed answer. https://zaisma.com/developers/errors/no_spending_request
236
+ - `top_up_not_refundable` (HTTP 409): The top-up has nothing left to refund: it's spent, refunded, or over 30 days old. Fix: Call get_credit to see which top-ups still have credit to refund within their 30 days. https://zaisma.com/developers/errors/top_up_not_refundable
237
+ - `bad_refill_level_cents` (HTTP 400): refill_level_cents isn't a whole number of cents from 1,000 ($10) to 1,000,000 ($10,000). Fix: Give refill_level_cents as a whole number of cents from 1,000 to 1,000,000. https://zaisma.com/developers/errors/bad_refill_level_cents
238
+ - `already_credit_plan` (HTTP 409): The developer already has a monthly credit plan, so there's nothing to start: change its level or stop it. Fix: Change the plan's level with change_credit_plan, or stop it with stop_credit_plan. https://zaisma.com/developers/errors/already_credit_plan
239
+ - `no_credit_plan` (HTTP 409): The developer has no monthly credit plan to change or stop. Fix: Start one with start_credit_plan first. https://zaisma.com/developers/errors/no_credit_plan
240
+ - `already_pro` (HTTP 409): The developer already has a Zaisma Pro subscription (running, cancelled until the month ends, or a renewal Stripe is retrying), so there's nothing to start. Fix: Call get_pro to see the subscription, and resume_pro if it's cancelled. https://zaisma.com/developers/errors/already_pro
241
+ - `pro_not_refundable` (HTTP 409): Zaisma Pro's payment can't be refunded: only the first payment, within 14 days of it, and only while it's the only one. Fix: Cancel Zaisma Pro with cancel_pro so it ends with the month instead. https://zaisma.com/developers/errors/pro_not_refundable
242
+ - `not_pro` (HTTP 409): There's nothing to cancel or resume: the developer has no Zaisma Pro, or it's already cancelled (or isn't cancelled). Fix: Call get_pro to see the subscription's state, then start_pro, cancel_pro or resume_pro as it fits. https://zaisma.com/developers/errors/not_pro
243
+ - `stripe_unavailable` (HTTP 503): Stripe didn't answer, or this Zaisma has no Stripe account set up. Fix: Call again in a few minutes. https://zaisma.com/developers/errors/stripe_unavailable
244
+
245
+ ## A game server's logs
246
+
247
+ - `bad_room_code` (HTTP 400): room_code isn't a room's code: six characters like K7Q2MX. Fix: Give room_code as a room's six-character code, like K7Q2MX. https://zaisma.com/developers/errors/bad_room_code
248
+ - `bad_minimum_level` (HTTP 400): minimum_level isn't debug, info, warn or error. Fix: Give minimum_level as debug, info, warn or error. https://zaisma.com/developers/errors/bad_minimum_level
249
+ - `bad_source_kind` (HTTP 400): source_kind isn't room, request, schedule or webhook. Fix: Give source_kind as room, request, schedule or webhook. https://zaisma.com/developers/errors/bad_source_kind
250
+ - `bad_search_text` (HTTP 400): search_text is empty or over 200 characters. Fix: Give search_text of 1 to 200 characters. https://zaisma.com/developers/errors/bad_search_text
251
+ - `bad_maximum_line_count` (HTTP 400): maximum_line_count isn't a whole number from 1 to 500. Fix: Give maximum_line_count as a whole number from 1 to 500. https://zaisma.com/developers/errors/bad_maximum_line_count
252
+ - `two_log_cursors` (HTTP 400): get_logs got both cursor and new_lines_cursor. Fix: Send cursor to page back, or new_lines_cursor to follow, not both. https://zaisma.com/developers/errors/two_log_cursors
253
+
254
+ ## Items and purchases
255
+
256
+ - `no_item` (HTTP 404): The game has no item by that name. Fix: Call list_items for the game's item names, then call again with one of them. https://zaisma.com/developers/errors/no_item
257
+ - `too_many_items` (HTTP 400): The game has 1,000 items, the most it can have. Fix: Remove items the game no longer uses with remove_item first. https://zaisma.com/developers/errors/too_many_items
258
+ - `bad_item` (HTTP 400): An item's name, title, description, kind, category, price or local prices isn't one set_item takes; field says which. Fix: Fix the item's field named in field, as set_item's input schema says. https://zaisma.com/developers/errors/bad_item
259
+ - `unsupported_currency` (HTTP 400): Zaisma doesn't price in that currency. Fix: Price the item in one of the currencies set_item's input schema lists. https://zaisma.com/developers/errors/unsupported_currency
260
+ - `price_too_low` (HTTP 400): The price is under the least Stripe charges in its currency. Fix: Raise the price to at least the least Stripe charges in that currency. https://zaisma.com/developers/errors/price_too_low
261
+ - `refund_policy_needed` (HTTP 409): A game that sells anything states its refund policy first. Fix: Set the game's refund policy with set_purchase_settings first. https://zaisma.com/developers/errors/refund_policy_needed
262
+ - `bad_refund_policy` (HTTP 400): refund_policy isn't no_refunds, unused_within_14_days, within_14_days, own_words or null. Fix: Give refund_policy as no_refunds, unused_within_14_days, within_14_days, own_words or null. https://zaisma.com/developers/errors/bad_refund_policy
263
+ - `bad_refund_policy_text` (HTTP 400): refund_policy_text isn't up to 600 characters of plain words, or doesn't go with refund_policy own_words. Fix: Give refund_policy_text as up to 600 characters of plain words, only with refund_policy own_words. https://zaisma.com/developers/errors/bad_refund_policy_text
264
+ - `bad_own_payment_categories` (HTTP 400): own_payment_categories isn't a list of cosmetic, gameplay, content and currency. Fix: Give own_payment_categories as a list from cosmetic, gameplay, content and currency. https://zaisma.com/developers/errors/bad_own_payment_categories
265
+ - `item_has_owners` (HTTP 409): Players bought or were granted the item, so it can't be removed; take its price off to stop selling it. Fix: Take the item's price off with set_item to stop selling it, and keep it for those who own it. https://zaisma.com/developers/errors/item_has_owners
266
+ - `bad_item_count` (HTTP 400): item_count isn't a whole number from 1 to 1,000, isn't 1 for a permanent item, or makes a buy's total more than 99,999,999 minor units. Fix: Give item_count as a whole number from 1 to 1,000, and 1 for a permanent item. https://zaisma.com/developers/errors/bad_item_count
267
+ - `bad_game_account_id` (HTTP 400): game_account_id isn't text of up to 200 characters, or null. Fix: Give game_account_id as text of up to 200 characters, or null. https://zaisma.com/developers/errors/bad_game_account_id
268
+ - `bad_purchase_source` (HTTP 400): purchase_source isn't sale or grant. Fix: Give purchase_source as sale or grant. https://zaisma.com/developers/errors/bad_purchase_source
269
+ - `bad_purchase_status` (HTTP 400): purchase_status isn't pending, completed, failed, refunded or charged_back. Fix: Give purchase_status as pending, completed, failed, refunded or charged_back. https://zaisma.com/developers/errors/bad_purchase_status
270
+ - `no_purchase` (HTTP 404): The game has no purchase with that ID. Fix: Call list_purchases for the game's purchase IDs, then call again with one of them. https://zaisma.com/developers/errors/no_purchase
271
+ - `already_refunded` (HTTP 409): The purchase was refunded or charged back already. Fix: Call get_purchase to see the refund that's there; nothing more is needed. https://zaisma.com/developers/errors/already_refunded
272
+ - `stripe_not_connected` (HTTP 409): Selling with the buy sheet, and refunding a sale, go through the developer's own Stripe account, which isn't connected: connect_stripe_account. Fix: Connect the developer's Stripe account with connect_stripe_account first. https://zaisma.com/developers/errors/stripe_not_connected
273
+ - `stripe_cannot_take_payments` (HTTP 409): The developer's Stripe account is connected, but Stripe hasn't turned on payments for it yet: finish setting it up on Stripe's dashboard. Fix: Finish setting the account up on Stripe's dashboard, then check with get_stripe_account. https://zaisma.com/developers/errors/stripe_cannot_take_payments
274
+ - `stripe_account_banned` (HTTP 403): The Stripe account was banned from Zaisma with the account that connected it, so it can't be connected again. Fix: Connect another Stripe account, of an account Zaisma hasn't banned. https://zaisma.com/developers/errors/stripe_account_banned
275
+ - `email_banned` (HTTP 403): The email was banned from Zaisma with the account it was on, so it can't be added to an account. Fix: Use another email. https://zaisma.com/developers/errors/email_banned
276
+ - `bad_is_stripe_tax_used` (HTTP 400): is_stripe_tax_used isn't true or false. Fix: Give is_stripe_tax_used as true or false. https://zaisma.com/developers/errors/bad_is_stripe_tax_used
277
+ - `bad_amount_minor_units` (HTTP 400): amount_minor_units isn't a whole number from 1 to what's left of the sale to refund. Fix: Give amount_minor_units as a whole number from 1 to what's left of the sale to refund, as get_purchase shows. https://zaisma.com/developers/errors/bad_amount_minor_units
278
+ - `purchase_not_paid` (HTTP 409): The sale wasn't paid (pending or failed), so there's nothing to refund. Fix: Leave the sale as it is: nothing was paid, so nothing is owed. https://zaisma.com/developers/errors/purchase_not_paid
279
+ - `not_for_sale` (HTTP 409): The item has no price, so players can't buy it; it's only granted. Fix: Give the item a price with set_item to sell it, or grant it with grant_item. https://zaisma.com/developers/errors/not_for_sale
280
+ - `receipts_unavailable` (HTTP 503): Zaisma couldn't sign the purchase's receipt at that moment. A grant answered with it wasn't made, so trying again grants it once. Fix: Call again in a minute: the grant wasn't made, so it's made once. https://zaisma.com/developers/errors/receipts_unavailable
281
+ - `bad_purchase_delivery` (HTTP 400): purchase_delivery isn't game, game_server or own_server. Fix: Give purchase_delivery as game, game_server or own_server. https://zaisma.com/developers/errors/bad_purchase_delivery
282
+ - `no_game_server` (HTTP 409): purchase_delivery game_server needs a game server, on Zaisma or the developer's own, and the game has none. Fix: Give the game a game server, or set purchase_delivery to game. https://zaisma.com/developers/errors/no_game_server
283
+ - `already_handled` (HTTP 409): The purchase was handed over already, or its refund was told already. Fix: Leave it: the purchase was handed over already. https://zaisma.com/developers/errors/already_handled
284
+ - `handled_by_server` (HTTP 409): The game's purchases go to its game server or the developer's own server (purchase_delivery), so the game can't mark them handled. Fix: Mark the purchase handled from the game server or your own server, which purchase_delivery names. https://zaisma.com/developers/errors/handled_by_server
285
+ - `bad_full_game_item` (HTTP 400): full_game_item_name doesn't name one of the game's items that's permanent and content, or the game is another game's demo. Fix: Name one of the game's items that's permanent and content, set with set_item. https://zaisma.com/developers/errors/bad_full_game_item
286
+ - `full_game_item_in_use` (HTTP 409): The item is the game's full game (full_game_item_name), so it can't be removed or stop being permanent and content. Fix: Set full_game_item_name to another item, or null, with update_game first. https://zaisma.com/developers/errors/full_game_item_in_use
287
+ - `bad_demo_game` (HTTP 400): demo_game_slug isn't another of the developer's games that's free to play, or the game itself is free to play. Fix: Give demo_game_slug as another of your games that's free to play, from a game that sells itself. https://zaisma.com/developers/errors/bad_demo_game
288
+ - `account_requirement_locked` (HTTP 400): A game that sells itself (full_game_item_name) needs account_requirement whole_game, since only accounts own it. Fix: Keep account_requirement whole_game, or stop selling the game with full_game_item_name null first. https://zaisma.com/developers/errors/account_requirement_locked
289
+ - `full_game_not_owned` (HTTP 403): The game sells itself, and the player's account doesn't own it: buy it on its game page. Fix: Let the player buy the game on its game page, or grant it with grant_item. https://zaisma.com/developers/errors/full_game_not_owned
290
+
291
+ ## Cloud saves
292
+
293
+ - `no_save` (HTTP 404): The player has no save in the game. Fix: Check the player ID, and that the player has played the game signed in with cloud saves on. https://zaisma.com/developers/errors/no_save
294
+ - `no_save_copy` (HTTP 404): The player's save has no earlier version with that ID. Fix: Call list_save_copies for the save's earlier versions, then call again with one of their IDs. https://zaisma.com/developers/errors/no_save_copy
295
+ - `bad_keys` (HTTP 400): keys isn't a list of 1 to 100 localStorage keys of up to 1,000 characters. Fix: Give keys as a list of 1 to 100 localStorage keys, each up to 1,000 characters. https://zaisma.com/developers/errors/bad_keys
296
+ - `bad_local_storage_items` (HTTP 400): local_storage_items isn't an object of localStorage keys and their text (null removes a key in a change). Fix: Give local_storage_items as an object of keys and their text, with null to remove a key in a change. https://zaisma.com/developers/errors/bad_local_storage_items
297
+ - `bad_indexeddb_databases` (HTTP 400): indexeddb_databases isn't a list of databases, each { name, version, stores } as get_save answers them. Fix: Give indexeddb_databases as get_save answered them, each { name, version, stores }. https://zaisma.com/developers/errors/bad_indexeddb_databases
298
+ - `save_too_big` (HTTP 413): The save would be over 5 MB. Fix: Keep the save under 5 MB, saving less or smaller values. https://zaisma.com/developers/errors/save_too_big
299
+ - `cloud_saves_off` (HTTP 409): The game has cloud saves off, so it doesn't read saves from players' accounts. Fix: Turn cloud saves on with update_game, cloud_saves_enabled true. https://zaisma.com/developers/errors/cloud_saves_off
300
+ - `cloud_saves_not_here` (HTTP 409): Cloud saves don't work here: this is a tester link, or this Zaisma has no accounts. The game page answers it to `Zaisma.saves` and `Zaisma.player.offerAccount()`; no API or MCP call returns it. Fix: Test cloud saves on the game's zaisma.com page, signed in, not through a tester link. https://zaisma.com/developers/errors/cloud_saves_not_here
301
+ - `save_busy` (HTTP 409): The player's game kept saving at the same moment, so the change didn't go through. Fix: Call again in a moment. https://zaisma.com/developers/errors/save_busy
302
+
303
+ ## The developer forum
304
+
305
+ - `no_topic` (HTTP 404): There's no topic with that ID you can see. Fix: Call search_forum for the topic's ID, then call again with it. https://zaisma.com/developers/errors/no_topic
306
+ - `no_post` (HTTP 404): There's no post with that ID you can see in the topic. Fix: Call get_topic for the topic's post IDs, then call again with one of them. https://zaisma.com/developers/errors/no_post
307
+ - `no_known_issue` (HTTP 404): There's no known issue with that ID. Fix: Call search_forum with tab known for the known issues' IDs. https://zaisma.com/developers/errors/no_known_issue
308
+ - `no_media` (HTTP 404): There's no image there you can see. Fix: Use an image address from a post you can see. https://zaisma.com/developers/errors/no_media
309
+ - `bad_tab` (HTTP 400): tab isn't latest, top, unanswered, known, yours, messages or bookmarks. Fix: Give tab as latest, top, unanswered, known, yours, messages or bookmarks. https://zaisma.com/developers/errors/bad_tab
310
+ - `bad_section` (HTTP 400): section isn't one of the forum's sections. Fix: Give section as one of the sections search_forum's input schema lists. https://zaisma.com/developers/errors/bad_section
311
+ - `bad_category` (HTTP 400): category isn't one of the forum's categories. Fix: Give category as one of the categories post_topic's input schema lists. https://zaisma.com/developers/errors/bad_category
312
+ - `no_category` (HTTP 400): A public topic was sent without its category. Fix: Give a public topic a category, as post_topic's input schema lists. https://zaisma.com/developers/errors/no_category
313
+ - `bad_tag` (HTTP 400): tag isn't one of the forum's tags. Fix: Give tag as one of the tags search_forum's input schema lists. https://zaisma.com/developers/errors/bad_tag
314
+ - `bad_tags` (HTTP 400): tags isn't a list of up to 3 of the forum's tags. Fix: Give tags as up to 3 of the tags post_topic's input schema lists. https://zaisma.com/developers/errors/bad_tags
315
+ - `bad_topic_status` (HTTP 400): topic_status isn't one of the statuses. Fix: Give topic_status as one of the statuses the input schema lists. https://zaisma.com/developers/errors/bad_topic_status
316
+ - `bad_is_answered` (HTTP 400): is_answered isn't true or false. Fix: Give is_answered as true or false. https://zaisma.com/developers/errors/bad_is_answered
317
+ - `bad_maximum_topic_count` (HTTP 400): maximum_topic_count isn't a whole number from 1 to 30. Fix: Give maximum_topic_count as a whole number from 1 to 30. https://zaisma.com/developers/errors/bad_maximum_topic_count
318
+ - `bad_detail` (HTTP 400): detail isn't brief. Fix: Give detail as brief, or leave it out. https://zaisma.com/developers/errors/bad_detail
319
+ - `bad_post_selection` (HTTP 400): post_selection isn't all, answer, latest or none. Fix: Give post_selection as all, answer, latest or none. https://zaisma.com/developers/errors/bad_post_selection
320
+ - `bad_is_public` (HTTP 400): is_public isn't true or false. Fix: Give is_public as true or false. https://zaisma.com/developers/errors/bad_is_public
321
+ - `bad_text_markdown` (HTTP 400): text_markdown is empty or over 8,000 characters. Fix: Give text_markdown of 1 to 8,000 characters. https://zaisma.com/developers/errors/bad_text_markdown
322
+ - `bad_author_kind` (HTTP 400): author_kind isn't developer or ai. Fix: Give author_kind as developer or ai. https://zaisma.com/developers/errors/bad_author_kind
323
+ - `bad_debug_context` (HTTP 400): debug_context isn't an object of its five text fields, up to 8,000 characters in all. Fix: Give debug_context as an object of its five text fields, up to 8,000 characters in all. https://zaisma.com/developers/errors/bad_debug_context
324
+ - `bad_images_base64` (HTTP 400): images_base64 isn't a list of base64 images. Fix: Give images_base64 as a list of PNG, WebP or JPEG images in base64. https://zaisma.com/developers/errors/bad_images_base64
325
+ - `too_many_images` (HTTP 400): A post carries more than 10 images. Fix: Send at most 10 images with a post. https://zaisma.com/developers/errors/too_many_images
326
+ - `bad_reopen` (HTTP 400): reopen isn't true or false. Fix: Give reopen as true or false. https://zaisma.com/developers/errors/bad_reopen
327
+ - `bad_answer_post_id` (HTTP 400): answer_post_id isn't a post ID or null. Fix: Give answer_post_id as a post ID from get_topic, or null. https://zaisma.com/developers/errors/bad_answer_post_id
328
+ - `bad_reason` (HTTP 400): reason isn't one of the report reasons. Fix: Give reason as one of the reasons report_post's input schema lists. https://zaisma.com/developers/errors/bad_reason
329
+ - `post_limit` (HTTP 429): The account has posted 100 times in the last day. Fix: Wait retry_after_sec seconds before posting again. https://zaisma.com/developers/errors/post_limit
330
+ - `image_limit` (HTTP 429): The account has uploaded 200 forum images in the last day. Fix: Wait retry_after_sec seconds before sending more images. https://zaisma.com/developers/errors/image_limit
331
+ - `not_yours` (HTTP 403): Only the developer who started the topic can do that. Fix: Ask the developer who started the topic, or reply to it with reply_to_topic. https://zaisma.com/developers/errors/not_yours
332
+ - `not_a_question` (HTTP 400): Only a question has an answer to mark. Fix: Mark answers only in topics of kind question. https://zaisma.com/developers/errors/not_a_question
333
+ - `not_closed` (HTTP 400): The topic isn't closed, so there's nothing to reopen. Fix: Leave it: the topic is open already. https://zaisma.com/developers/errors/not_closed
334
+ - `not_released` (HTTP 400): The topic isn't a known issue whose fix is out. Fix: Wait until the known issue's fix is out, as get_topic shows. https://zaisma.com/developers/errors/not_released
335
+ - `cant_vote` (HTTP 400): The topic doesn't take your vote: it's yours, private, or a discussion. Fix: Vote only on others' public topics that aren't discussions. https://zaisma.com/developers/errors/cant_vote
336
+ - `cant_flag` (HTTP 400): Only public topics others can see can be flagged as misplaced. Fix: Flag only public topics others can see. https://zaisma.com/developers/errors/cant_flag
337
+ - `retired_tool` (HTTP 410): The tool is retired; the error names the one that replaces it. Fix: Call the tool the message names instead. https://zaisma.com/developers/errors/retired_tool
338
+ - `bad_rating` (HTTP 400): rating isn't like or dislike. Fix: Give rating as like or dislike. https://zaisma.com/developers/errors/bad_rating
339
+ - `cant_rate_post` (HTTP 400): Only posts in public topics take likes and dislikes. Fix: Rate only posts in public topics. https://zaisma.com/developers/errors/cant_rate_post
340
+ - `cant_rate_own_post` (HTTP 400): Your own posts take no likes or dislikes from you. Fix: Rate only other people's posts. https://zaisma.com/developers/errors/cant_rate_own_post
341
+ - `cant_report` (HTTP 400): The post can't be reported: it's yours, or Zaisma's. Fix: Report only others' posts, never your own or Zaisma's. https://zaisma.com/developers/errors/cant_report