Skip to content

Error codes

Every error the KRIN API returns, what it means and what to do next.

Open .md

Answer. KRIN errors are RFC 9457 application/problem+json with a stable code. Branch on code, never on title or detail, which can change. Always log request_id: KRIN support can find any request by it.

Each error’s type is https://docs.krin.io/errors/<code>, which opens the row below.

code status meaning what to do
validation_failed 400 A field is missing or out of shape. errors lists each one with its path Fix the listed fields
invalid_json 400 The body isn’t valid JSON Send valid JSON
payload_too_large 413 The body is over the size limit Send less in one request
method_not_allowed 405 This path doesn’t take this HTTP method Check the reference
idempotency_key_required 400 A write without Idempotency-Key Add one unique key per write
idempotency_key_reused 409 The same Idempotency-Key with a different request Use a new key for a new request
dry_run_not_supported 400 dry_run=true on an operation that has no dry run Drop dry_run
rate_limited 429 Too many requests Wait for Retry-After, then retry
not_found 404 The object doesn’t exist in your organization Check the id and the Krin-Org
conflict 409 The object changed since you read it Read it again, then retry
invalid_transition 409 The object’s state doesn’t allow this, for example pausing an ended offer Read its state first
immutable_field 409 This field can’t change after creation Create a new object instead
internal_error 500 Something failed on KRIN’s side Retry later; send request_id to support
not_configured 503 This part of KRIN isn’t switched on in this environment yet Retry later
code status meaning what to do
not_signed_in 401 No valid key, token or session Sign in again or check the key
org_required 400 A console call without Krin-Org Send Krin-Org
role_not_allowed 403 Your role can’t do this Ask an owner of the organization
side_not_enabled 403 The organization has no advertiser or publisher side for you Turn the side on in the console
passkey_session_required 403 Sign in with your passkey to do this (console only) Sign in again with your passkey; if you have none, add one in Settings, Passkeys and security
sign_in_too_old 403 Money steps need a passkey sign-in from the last 12 hours Sign in with your passkey again, then retry
recent_new_device 403 Money steps wait 10 minutes after a new device sign-in or a passkey change Wait, then retry; retry_after_seconds says how long
passkey_sign_in_failed 401 Passkey sign-in didn’t work Try again, or sign in with an email code
origin_rejected 403 A console write from another site Use the console itself
terms_required 400 The KRIN terms weren’t accepted Accept the terms
terms_outdated 400 These aren’t the current KRIN terms Reload the page and accept the current terms
org_limit_reached 409 You’ve created as many organizations as one person can Use an existing organization, or contact KRIN support
invalid_email, code_wrong, code_expired, code_locked 400 The email sign-in code is missing, wrong, expired or locked after too many tries Request a new code
turnstile_failed 400 The sign-in check didn’t pass Reload the page and try again
mail_unavailable 503 The sign-in email couldn’t be sent right now Retry in a minute
passkey_invalid, passkey_challenge_invalid, passkey_needs_fresh_sign_in, passkey_counter_regressed 400/403 The passkey check failed Try again; if it repeats, remove that passkey and add a new one
passkey_already_registered, passkey_limit_reached, no_passkey 409 Passkey set-up conflict See Settings, Passkeys

API keys (Soon: these codes appear once API keys are switched on)

Section titled “API keys (Soon: these codes appear once API keys are switched on)”
code status meaning what to do
invalid_api_key 401 The key is missing, unknown, revoked or expired Send a live secret key: Authorization: Bearer krin_sk_...
ip_not_allowed 403 The request came from an address outside the key’s allowlist Call from an allowed address, or change the allowlist in the console
scope_missing 403 The key doesn’t have this operation’s scope Make a key with that scope in the console
not_for_api_keys 403 A person runs this in the console, such as key and member changes, money moves and steps that need a passkey sign-in Do it in the console
test_key_live_account 403 A test key (krin_sk_test_) after the organization left sandbox Use a live key

Webhooks (Soon: these codes appear once webhooks are switched on)

Section titled “Webhooks (Soon: these codes appear once webhooks are switched on)”
code status meaning what to do
webhook_limit 409 This side already has 10 webhook endpoints Delete one first
webhook_disabled 409 A replay to an endpoint that is turned off Turn the endpoint on, then replay
code status meaning what to do
unsupported_url 422 The link isn’t a Google Play or App Store app link Paste the store link
store_not_found 404 The store has no app at that link Check the link
store_unreachable 502 The store didn’t answer Retry later
product_exists 409 Your organization already has a product for this app. The answer names it Use that product
offer_locked 409 A submitted offer changes only through withdraw, pause or a change request Withdraw it or request a change
no_check_run 404 The offer hasn’t been submitted yet, so it has no checks Submit it first
reversal_window_closed 409 The conversion is final Nothing to reverse
reversal_money_off 409 Reversals aren’t open for this conversion yet Nothing was changed. Try again once reversals open
reversal_daily_cap 429 Your organization filed 50 reversals today Try again after 00:00 UTC (Retry-After)
pending_change_required 409 On a live or paused offer, this widens who sees it, for example new countries or looser age settings. Nothing was saved, and the live offer keeps serving Send it as a change request (advertiser.offers.changes.propose). It runs the checks first
store_age_unverified 422 KRIN couldn’t read the app’s age rating from its store yet, so the age setting can’t be checked. errors lists the fields Try again later, or check the store link
topup_limit 409 You already have 5 wire top-ups waiting for payment Send one, cancel one, or wait for one to expire, then start another
wire_unavailable 409 Wire top-ups aren’t available right now Try again later; KRIN never sends bank details by email
topup_sandbox 409 Wire top-ups are for live accounts only Add funds once your account is out of Sandbox
topup_state 409 This top-up is no longer pending Nothing to change; start a new top-up if you need one
code status meaning what to do
placement_not_ready 409 The placement can’t go live yet. missing lists what’s left Finish each listed item
placement_not_serving 409 The wall isn’t open: no launch secret yet, or the placement is paused or blocked Check the placement in the console
placement_fraud_paused 409 KRIN paused this placement after a traffic decision Contact KRIN support with request_id
sandbox_only 409 The test wall opens only while the account is in sandbox Use your live wall
postback_not_configured 404/409 No postback URL is set yet: 404 when you read the postback settings, 409 when you send a test Set the postback first
postback_secret_missing 409 The postback has no signing secret yet Create the secret
postback_template_unsigned 422 A GET template must carry every signed value. missing lists them Add the listed values to the template
pb_duplicate_parameter 422 The postback template names one parameter twice Remove the duplicate
secret_already_shown 409 A secret is shown once, so a retry of its creation doesn’t show it again (placement secrets, API keys, webhook endpoints) Rotate a placement secret. For a lost API key or endpoint secret, revoke the key or delete the endpoint, then create a new one
test_link_already_shown 409 A test wall link is shown once Press Open or Copy again for a fresh link
launch_rejected 401 The wall launch link’s signature doesn’t match, or its ts is more than 5 minutes from KRIN’s clock, or its user_id starts with krin_ (reserved for KRIN) Sign on your server with the placement’s launch secret and current time
launch_nonce_reused 401 This launch link was already used Sign a new link for every open
user_not_found 404 No user with that ID on this placement Check the user ID your app sends in the wall launch, and the placement
sdk_app_not_registered 409 This Android app’s signing certificate isn’t on its property, so the KRIN SDK can’t start a session Add the app signing certificate SHA-256 from Play Console (App integrity, App signing) to the property
client_ip_required 400 The request had no user IP Send it from the user’s device, not your server
wall_session_invalid 401 The wall session ended Open the wall again from the app
onboarding_required 403 The user hasn’t chosen an age range or accepted the wall’s current terms yet The wall shows them; nothing to do on your side. With headless offers, open your wall for the user once
profile_locked 409 The age range is already set, or the wall is stopped for this user The user contacts your support; you contact KRIN support
click_limit 429 The user started too many offers in a short time Try again later
already_started 409 This Idempotency-Key already started an offer. The single-use click link is never stored Start again with a new Idempotency-Key
network_refused 403 A headless start came from a data center, VPN, proxy or Tor network Send the IP address the user’s device reached your server from
not_claimable 409 This step can’t take a missing-reward claim now. reason says why (below) Follow the reason
reason meaning
step_recorded The step is already recorded, so there’s nothing to claim
not_opened The user didn’t open this offer from the wall
too_early Claims open later for this step. The step shows the date
window_closed The time to claim this step has passed
daily_limit Claims are paused for today. Try again tomorrow
code status meaning what to do
metric_not_offered 400 The metric isn’t in your catalog Read metrics.catalog first
mixed_currency 400 Money metrics in more than one currency in one query Group or filter by one currency
result_too_large 400 More than 5,000 rows Narrow the range, the granularity or the dimensions
query_timeout 503 The report took too long Narrow the range, then retry after Retry-After

llms.txt