Skip to content

Error codes

A refusal is { "error": "…", "code": "…" }. error is a sentence in English for people and may be reworded; code never changes once released: act on it, or translate it. Link to one code with https://docs.thebgdb.org/errors/#<code>.

Any route can also answer internal_error (500) when something fails on our side, or catalog_busy (429, with retry-after) for a moment while the catalog is being written: wait and try again.

Code Status Sentence (may change) Sent by
not_found 404 No applied changeset has this id. GET /designers/{slug}, GET /artists/{slug}, GET /publishers/{slug}, GET /categories/{slug} and 3 more
request_too_large
catalog_busy 429 The catalog is busy writing. Try again after Retry-After seconds.
internal_error 500 Not recorded
rate_limited 429 Rate limit exceeded GET /games, GET /index/games/counts, GET /index/editions, GET /index/games and 70 more
weekly_limit 429 GET /games, GET /index/games/counts, GET /index/editions, GET /index/games and 70 more
missing_address 400 A request over the service binding must carry cf-connecting-ip.
invalid_token 401 This API token is not valid.
invalid_lang 400
invalid_cursor 400 Invalid cursor GET /index/editions
invalid_page 400 Send page or cursor, not both. GET /games, GET /search, GET /designers/{slug}, GET /artists/{slug} and 6 more
page_out_of_range 404 GET /games, GET /search, GET /designers/{slug}, GET /artists/{slug} and 6 more
invalid_order 400 order must be one of: recent, rating
invalid_filter 400 Unknown role.
invalid_letter 400
invalid_query 400 q must be between 2 and 100 characters
invalid_language 400 POST /games/{id}/images
invalid_status 400 Unknown status.
game_not_found 404 Game not found GET /index/editions, GET /games/{id}/editions/{edition}
invalid_ean 400 ean must be a barcode of 13 digits (EAN-13) or 12 (UPC-A), its check digit right. GET /editions
barcode_not_found 404 No edition in the catalog has this barcode yet. GET /editions
403 Looking up many barcodes at once is part of the paid plans. GET /v1/editions?ean= looks up one at a time; see https://thebgdb.org/developers. POST /lookup
invalid_lookup 400 POST /lookup
game_withdrawn 409 This entry was withdrawn because it is not a game: its facts are no longer corrected. Reject the correction instead.
not_logged_in 401 Not logged in. POST /publisher/applications, GET /publisher/games, POST /publisher/games, PATCH /publisher/games/{id} and 1 more
moderators_only 403 Only moderators can merge at once. Send it as a proposal instead.
admins_only 403 Only an admin can create a token for the admin API. POST /account/keys
email_not_confirmed 403 Confirm your email address first. The link is in the message we sent you; you can ask for a new one from your account page. POST /publisher/applications, POST /account/keys
posting_too_fast 429 You are posting too fast. Wait a minute and try again. POST /publisher/applications, POST /publisher/games, PATCH /publisher/games/{id}, PUT /publisher/games/{id}/cover
daily_posting_limit 429
too_many_attempts 429 Too many attempts from your network. Wait a minute and try again.
human_check_unavailable POST /publisher/applications
human_check_missing POST /publisher/applications
human_check_failed POST /publisher/applications
human_check_unverified POST /publisher/applications
invalid_email 400 Enter a valid email address.
invalid_display_name 400 Your name must be 2 to 40 characters.
password_too_short 400 Your password must be at least 10 characters.
email_taken 409 An account already uses this email. Log in instead.
wrong_credentials 401 Wrong email or password.
account_suspended 403 This account is suspended. Write to contact@thebgdb.org.
own_account 409 Ask another admin to change your own account.
account_erased 409 This account was erased.
confirmation_mismatch 400 Type the member’s email address to confirm.
verification_link_expired 400 This link has expired or was already used. Ask for a new one from your account page.
reset_link_invalid
reset_link_used
reset_link_expired
email_not_sent
invalid_token_name 400 Give the token a name of 1 to 60 characters.
too_many_tokens 400 POST /account/keys
invalid_token_expiry 400 expiresAt must be a date and time in the future (ISO 8601). POST /account/keys
invalid_playlist_provider 400
invalid_preferences 400 PUT /account/preferences
too_many_preferences 400 PUT /account/preferences
preference_not_found 400 PUT /account/preferences
photo_missing 400 Choose a photo to upload. POST /games/{id}/images
photo_too_large 413 The photo is larger than 5 MB.
photo_type_refused 415 Only JPEG, PNG and WebP photos are accepted.
photo_too_small 422 POST /games/{id}/images
photo_not_square 422 POST /games/{id}/images
daily_photo_limit 429
official_cover_refused 403 Only a verified representative of one of this game’s publishers can send its official cover.
photo_not_found 404 Photo not found
photo_kind_missing 400 Say what the photo shows: the box front, the box back, the components… POST /games/{id}/images
invalid_photo_kind 400 GET /games/{id}/photos, POST /games/{id}/images
list_not_found 404 List not found GET /lists/{id}
invalid_list_name 400
list_description_too_long 400 Keep the description under 500 characters.
not_list_owner 403 Only the list’s owner can change it.
invalid_list_visibility 400
list_kept 400 My Collection keeps its name and cannot be deleted. Its description and visibility can change. PATCH /lists/{id}, DELETE /lists/{id}
rating_out_of_range 400 rating must be a number from 1 to 10, with at most one decimal.
invalid_vote 400
invalid_comment 400
comment_removed_by_moderator 403 A moderator removed your comment on this game, so you cannot post another one here.
comment_not_found 404 Comment not found
comment_hidden_by_votes 403 Members voted your comment on this game down, so it is hidden until a moderator looks at it.
own_contribution_vote 403 You cannot vote on what you added yourself.
invalid_video_url 400 url must be the address of a video on YouTube or Vimeo.
invalid_video_title 400 Give the video a title of 2 to 120 characters.
invalid_video_category 400
duplicate_video 409 This video was already sent in for this game.
daily_video_limit 429
video_not_found 404 Video not found
invalid_playlist_url 400 url must be the address of a playlist or an album on Apple Music, Spotify or YouTube.
playlist_title_too_long 400
playlist_title_unreadable 400
invalid_playlist_vote 400
duplicate_playlist 409 This playlist is already listed for this game.
playlist_hidden 409 This playlist was added before and is no longer shown.
daily_playlist_limit 429
playlist_not_found 404 Playlist not found
rulebook_missing 400 Choose a PDF, or images of the pages, to upload.
rulebook_too_large 413 The rulebook is larger than 25 MB in all. A PDF of up to 200 MB can be sent in parts: see POST /games/{id}/rulebooks/uploads.
rulebook_image_too_large 413 One of the images is larger than 5 MB.
rulebook_type_refused 415 Only a PDF, or JPEG, PNG and WebP images, are accepted.
rulebook_mixed_files 400 Send one PDF, or images only: not several files with a PDF.
rulebook_too_many_images 400
rulebook_edition_too_long 400
invalid_file_type 400
daily_rulebook_limit 429
rulebook_not_found 404 Rulebook not found
rulebook_rejected 409 This rulebook was rejected and deleted.
invalid_upload_size 400 size must be the file’s size in bytes.
rulebook_upload_too_large 413
too_many_open_uploads 429
upload_token_missing
upload_not_found
upload_expired
invalid_upload_part
wrong_part_size
upload_not_pdf 415 Only a PDF can be sent in parts: this file is not one.
part_incomplete 400
upload_parts_missing
upload_assembly_failed 409 The parts could not be put together. Start the upload again.
upload_size_mismatch 400 The file is not the size that was announced.
invalid_correction 400
description_not_declared 400 To propose a description, confirm that you wrote the text or that it is free to reuse (textDeclared: true).
unknown_credit 400
not_a_publisher_of_the_game 400, 409 The original publisher must be one of the game’s publishers. Add it as a publisher first.
lead_not_found 404 No lead waits under this id: it was decided already.
lead_not_acceptable 409 This expansion cannot be added: its title is unusable or is the game itself. Reject it.
correction_stale 409
correction_range 400, 409
daily_correction_limit 429
invalid_email_domain 400
note_too_long 400
publisher_not_found 400 publisher must be the name or the slug of a publisher in the catalog.
duplicate_publisher_claim 409
too_many_pending_claims 429
edition_not_found 400, 404 This game has no such edition. POST /games/{id}/images, GET /games/{id}/editions/{edition}
name_not_found 400 This game has no such name. POST /games/{id}/images
invalid_edition 400
invalid_rules 400
rules_unchanged 400 Nothing was changed: every section is as it is now.
daily_rules_limit 429
invalid_tutorial 400
tutorial_image_unknown 400 An image of a step is not one you uploaded for this game. Upload it again.
tutorial_unchanged 400 Nothing was changed: the steps are as they are now.
daily_tutorial_limit 429
proposal_not_found 404 No change to rules is waiting under this id.
proposal_decided 409 This was decided already.
invalid_accepted_sections 400 Choose at least one of the sections the change proposes.
rules_stale
tutorial_stale
engine_unavailable 502 The engine did not answer. Try again in a moment. POST /publisher/games, PATCH /publisher/games/{id}, PUT /publisher/games/{id}/cover
publisher_unavailable 502 The merge could not be made now. Try again in a minute.
games_required 400 Say which two games to merge.
merge_refused 409
invalid_decision 400
decision_refused 409
game_required 400 game is required.
cover_candidate_required 400 Say which image to use.
image_required 400 Say which image to use.
crop_invalid 400 Say how to crop the cover.
invalid_cover_side 400 PUT /publisher/games/{id}/cover
invalid_mode 400
cover_changed 409 The cover changed while you were cropping it. Close the window and open it again.
cover_choice_invalid 400 Vote to keep the cover, for a better one, or for one of the game’s box fronts.
cover_not_found 404 This game has no such previous cover.
engine_refused
engine_unknown_game
enrich_request_not_found
enrich_job_not_found
invalid_enrich_choice 400 Say which held values to apply.
job_not_found 404 No such job.
cover_review_closed
cover_candidate_unknown
cover_not_reusable
cover_not_stored POST /publisher/games, PATCH /publisher/games/{id}, PUT /publisher/games/{id}/cover
web_image_unknown
image_host_refused POST /publisher/games
image_not_fetched 502 POST /publisher/games
image_not_readable
straighten_failed
straighten_risky
straightened_unknown
no_cover
claim_not_found 404 Request not found
invalid_rejection_reason 400
correction_not_found 404 No correction is waiting under this id.
invalid_accepted_changes 400 changes must list the changes to accept by their index, at least one.
correction_decided 409 This correction was already decided.
revision_not_found 404 Revision not found
revision_undone 409 This correction was already undone.
revision_changed 409 The section was changed again since. Undo the later change first.
invalid_snooze_item 400
invalid_merge_proposal 400 sameAs must name another game of the catalog, by its id or address.
duplicate_merge_proposal 409 Someone already said these two are the same game. A moderator will look at it.
invalid_token_scope 400
publisher_access_required 403 Only a publisher given access to the Publisher API can create a token that adds games. Apply on the Publisher API page. GET /publisher/games, POST /publisher/games, PATCH /publisher/games/{id}, PUT /publisher/games/{id}/cover and 1 more
publisher_token_required GET /publisher/games, POST /publisher/games, PATCH /publisher/games/{id}, PUT /publisher/games/{id}/cover
invalid_application 400 POST /publisher/applications
duplicate_application 409 POST /publisher/applications
application_pending 409 You have an application waiting. Wait for a moderator to answer it before applying again. POST /publisher/applications
daily_application_limit 429 POST /publisher/applications
application_not_found 404 Application not found.
invalid_game_field POST /publisher/games
game_name_required POST /publisher/games
game_name_language_required
game_year_required POST /publisher/games
game_players_required
game_playtime_required
game_min_age_required
game_designer_required
game_publisher_not_yours GET /publisher/games, POST /publisher/games, PATCH /publisher/games/{id}, PUT /publisher/games/{id}/cover
game_description_too_short
game_description_not_plain
game_description_not_own_words
game_cover_required 400 Send the cover as the “cover” file of a form, as the body with its image type, or as { “url”: “https://…” }. POST /publisher/games
cover_too_small POST /publisher/games
cover_too_large 413 The image is larger than 15 MB.
cover_type_refused 415 The file is not a JPEG, PNG or WebP image.
cover_not_box_front POST /publisher/games
cover_not_box_back PUT /publisher/games/{id}/cover
cover_not_judged POST /publisher/games, PATCH /publisher/games/{id}, PUT /publisher/games/{id}/cover
cover_kept_by_moderator 409 A moderator chose this game’s cover. Send yours as a photo marked official from the game’s page, and a moderator will look at it. PUT /publisher/games/{id}/cover
duplicate_game POST /publisher/games
not_your_game GET /publisher/games, POST /publisher/games, PATCH /publisher/games/{id}, PUT /publisher/games/{id}/cover
daily_publisher_limit POST /publisher/games, PATCH /publisher/games/{id}, PUT /publisher/games/{id}/cover
game_refused POST /publisher/games
invalid_submission 400 before must be a date and time (ISO 8601)
invalid_admin_change 400, 409 This game is not withdrawn.