API error reference

Every error the Piakno API can answer with: its code, what it means, the HTTP status it comes with, and each way it is worded. The errors are RFC 9457 problem details.

When the Piakno API refuses a request, it answers with an RFC 9457 problem details object. Its type is the address of one of the headings below, and its code is the key a program can rely on. The title names the kind of problem; a detail, when there is one, says what went wrong this time. Both are written in the reader’s language.

What an error answer carries

account_required: Add an email address before buying, so you can sign back in on another device.

HTTP status: 409

account_suspended: This account is suspended; paying would not restore access. Please contact support.

HTTP status: 403

admin_2fa_required: Administrator accounts must turn on two-step verification first.

HTTP status: 403

admin_email_unverified: Please verify your email address before using the admin console.

HTTP status: 403

admin_export_owner_only: Only an owner can export accounts.

HTTP status: 403

admin_from_config: This admin is named in ADMIN_EMAILS and can only be removed by changing that setting.

HTTP status: 409

admin_grant_ineligible: Only a registered account with a verified email address, not suspended and not already an admin, can be made an admin.

HTTP status: 409

admin_owner_only: Only an owner listed in ADMIN_EMAILS can grant or revoke the admin role.

HTTP status: 403

admin_reason_required: Please give a reason for granting the admin role; it goes into the audit log.

HTTP status: 400

admin_target_admin: Only an owner can do this to another admin's account.

HTTP status: 403

admin_target_owner: This account is an owner named in ADMIN_EMAILS, so the console cannot do this to it. An owner is managed only by changing that setting.

HTTP status: 403

admin_target_self: You cannot do this to your own account. Manage your own devices and two-step verification under your account security.

HTTP status: 403

age_ineligible: Accounts here are for people aged 14 and over. Ask a parent or guardian to register in their own name — you can learn on their account.

HTTP status: 403

already_entitled: You already have this. The membership page shows the plans you can change to or add.

HTTP status: 409

already_verified: This account's email address is already verified, so there is nothing to resend.

HTTP status: 409

bad_ban_reason: That suspension reason is not one of the choices. Reload the page and choose again.

HTTP status: 400

bad_counter_receipt: The counter-notice must have been received after the takedown and not in the future.

HTTP status: 400

bad_cursor: That page marker isn't valid. Start from the beginning.

HTTP status: 400

bad_daily_goal: That daily goal is outside the allowed range.

HTTP status: 400

bad_derived_score: That simplified score couldn't be saved: it isn't a score this site can draw.

HTTP status: 422

bad_domain: That is not a valid domain name.

HTTP status: 400

bad_filter: That filter is not one this list understands. Choose another and try again.

HTTP status: 400

bad_goal_kind: A daily goal can be counted in minutes or in answers, and nothing else.

HTTP status: 400

bad_image: That image could not be read. Please use a PNG or JPEG.

HTTP status: 400

bad_mode: The import mode must be either bootstrap or sync.

HTTP status: 400

bad_notice_ref: A case number may hold only letters, digits and hyphens, at most 40 of them.

HTTP status: 400

bad_part: That part isn't in this file. Choose one of the parts listed.

HTTP status: 400

bad_passage: Those passages can't be added to your review: each is at most 4 bars, one request holds at most 32, and each needs its bars, the score, the take and the day.

HTTP status: 400

bad_passage_review: That performance can't review these bars: it has to be one of your checked takes of this score, covering them.

HTTP status: 400

bad_passage_take: That performance can't add bars to your review: it has to be one of your checked takes of this score as it is now, and not one you discarded.

HTTP status: 400

bad_practice_level: A practice level has to name one of the practice ladders and be a whole number that ladder has.

HTTP status: 400

bad_reminder_hour: The reminder hour must be between 0 and 23.

HTTP status: 400

bad_request: The request is missing something or has a value that is not valid.

HTTP status: 400

bad_score_edits: Those corrections can't be applied: check the measure range, the tempo (20–300), the time signature and the hands.

HTTP status: 400

bad_sight_reading_level: A sight-reading level has to be a whole number from 1 to 20.

HTTP status: 400

bad_take: That performance record wasn't in the expected shape, so it wasn't saved.

HTTP status: 400

bad_takedown_scores: Choose at least one score on this account.

HTTP status: 400

bad_timezone: That time zone is not one we recognize.

HTTP status: 400

bad_transposed_score: That transposed score couldn't be saved: it doesn't match the original moved into the new key. Open the page again and try once more.

HTTP status: 422

ban_note_too_long: The note is too long. Keep it to 500 characters.

HTTP status: 400

batch_too_large: You can submit at most 200 answers at a time.

HTTP status: 400

billing_disabled: Payments are not available in this environment.

HTTP status: 503

billing_issue_open: A payment for your subscription didn't go through and is still being retried. Update your payment method from the account page instead of starting a second subscription.

HTTP status: 409

billing_not_stopped: A website subscription could not be stopped from renewing just now.

HTTP status: 502 and 503

birth_year_required: Please choose the year you were born.

HTTP status: 422

body_too_large: What was sent is too large for the server to accept.

HTTP status: 413

cannot_ban_self: You cannot suspend your own account.

HTTP status: 400

cannot_comp_self: You cannot grant membership to your own account.

HTTP status: 403

captcha_failed: Human verification did not pass. Please try again.

HTTP status: 400

captcha_required: Please complete the human verification first.

HTTP status: 400

checkout_completing: Your payment is being confirmed. Wait a moment before starting another checkout.

HTTP status: 409

checkout_in_progress: Another checkout is still being set up. Wait a moment and try again.

HTTP status: 409

checkpoint_locked: This checkpoint asks about lessons that need a membership, so this sitting was not recorded.

HTTP status: 403

code_expired: That code has expired. Please request a new one.

HTTP status: 400

common_password: That password is too common. Please choose another.

HTTP status: 400

copyright_case_moved: That case was just moved to another account, so the action did not go through. Reload the account page and try again.

HTTP status: 409

copyright_case_not_found: There's no such copyright case.

HTTP status: 404

copyright_not_forwarded: The counter-notice isn't recorded as forwarded to the person who sent the notice. Forward it, record that, and then restore.

HTTP status: 409

copyright_ref_closed: That case number belongs to a notice that has already ended. A new notice needs a new case number.

HTTP status: 409

copyright_unavailable: Copyright handling isn't set up on this deployment.

HTTP status: 503

copyright_wrong_status: That case can't take this step from where it stands.

HTTP status: 409

domain_builtin: That domain is on the built-in list and can't be removed here.

HTTP status: 409

domain_exists: That domain is already on the list.

HTTP status: 409

edited_meanwhile: Someone changed this lesson while it was being restored, so nothing was restored. Reload it and decide again.

HTTP status: 409

email_already_verified: This email address is already verified.

HTTP status: 409

email_change_disabled: Email is not configured in this environment, so the address cannot be changed.

HTTP status: 503

email_code_disabled: Signing in with an emailed code isn't available right now. Please use your password instead.

HTTP status: 503

email_domain_blocked: We can't accept email addresses from that domain. Please use a different address.

HTTP status: 400

email_quoted_not_supported: We can't accept an email address whose part before the @ is written in quotation marks. Please use the plain form of the address.

HTTP status: 422

email_signup_ticket_invalid: This sign-up has expired. Enter your email again to get a new code.

HTTP status: 400

email_signup_year_required: This address doesn't have an account yet. Choose the year you were born to create one.

HTTP status: 428

email_taken: That email address is already registered.

HTTP status: 409

email_unchanged: That is already your email address.

HTTP status: 400

email_unverified: That sign-in did not provide a verified email address, so we can't create an account from it. Please sign up with your email instead.

HTTP status: 400

export_not_licensed: This piece's license lets us show you the notation here, but not hand out a copy of it as a file.

HTTP status: 422

export_too_large: There is too much to export as one file.

HTTP status: 422

family_not_publishable: This piece is published, so it cannot move into that family: the family's head does not exist or does not head it.

HTTP status: 422

file_required: Choose a score file to import.

HTTP status: 400

file_too_large: That image is too large. Please compress it and try again.

HTTP status: 413

forbidden: This requires administrator access.

HTTP status: 403

goal_needs_its_unit: Set a daily goal and its unit together. The number alone does not say what it counts.

HTTP status: 400

guest_account: A guest account cannot be given membership. Ask them to sign up first.

HTTP status: 409

guest_blocked: Guest accounts are unavailable right now. Please try again later, or sign up.

HTTP status: 429

guest_challenge_required: Many new visitors have just arrived from this network. Complete a quick human check so we can keep your practice.

HTTP status: 428

head_has_versions: This piece heads a family with published versions, so its family cannot be changed or cleared.

HTTP status: 422

household_already_seated: This account is already in a household. Leave that one first, then accept this invitation.

HTTP status: 409

household_bad_email: Please enter the email address of the person you're inviting.

HTTP status: 422

household_invite_invalid: That invitation link no longer works. Ask the person who invited you to send another.

HTTP status: 400

household_needs_account: A seat goes to your own account. Please register first, then open the invitation link again.

HTTP status: 403

household_no_seat: This account doesn't hold a household seat to leave.

HTTP status: 404

household_owner_cannot_be_seated: This account already has a household of its own. Seats are for other people to use, and everything a seat opens is already yours.

HTTP status: 409

household_owner_cannot_join: This is your own household — the seats in it are for other people.

HTTP status: 409

household_required: Opening seats for other people is part of the Max membership. Upgrade to invite the people you live with.

HTTP status: 403

household_seated_cannot_own: This account is using a seat in someone else's household. Give that seat back first, and then you can open a household of your own.

HTTP status: 409

household_seats_full: Every seat in your membership is taken.

HTTP status: 409

household_self_invite: That's your own address. The seats are for other people — your membership is already yours.

HTTP status: 409

household_unavailable: Household seats aren't available right now. Please try again later.

HTTP status: 503

identity_in_use: That account is already connected to a different Piakno account.

HTTP status: 409

image_busy: We're busy processing other photos. Please try again in a moment.

HTTP status: 503

indexnow_disabled: IndexNow is not configured. Set INDEXNOW_KEY and BRAND_SITE_URL in the server's environment.

HTTP status: 503

internal: Something went wrong on our end. Please try again in a moment.

HTTP status: 500

invalid_attempt: That attempt is not valid.

HTTP status: 400

invalid_body: The body has problems to fix.

HTTP status: 422

invalid_chords: The chord track has problems: every chord must be a recognized symbol, starting at beat 0, with beats strictly increasing.

HTTP status: 422

invalid_code: That code is not correct, or it has expired.

HTTP status: 400

invalid_credentials: That email address or password is not correct.

HTTP status: 401

invalid_family: A family name can use only lowercase letters and digits joined by single hyphens, up to 64 characters.

HTTP status: 422

invalid_marks: The score marks have problems: every mark must fall on a bar and say one of the known things: a key, clef, tempo, dynamic, hairpin, barline or word.

HTTP status: 422

invalid_practice: That practice record is not valid.

HTTP status: 400

invalid_sitting: That checkpoint sitting was not recorded.

HTTP status: 400

invalid_social_token: That sign-in could not be verified. Please try again.

HTTP status: 401

invalid_token: Your session is no longer valid. Please sign in again.

HTTP status: 401

invalid_totp: That two-step verification code is not correct.

HTTP status: 400

last_sign_in_method: This is the only way you can sign in. Add another sign-in method first, then remove this one.

HTTP status: 409

lesson_not_in_course: That lesson is not part of this course, or is no longer published, so nothing was recorded. Refresh the page and try again.

HTTP status: 400

lesson_open_unavailable: This lesson could not be opened right now. Please try again.

HTTP status: 503

link_required: An account already uses this email. Sign in to it the way you usually do, then connect this sign-in in Account → Security.

HTTP status: 409

locked: That piece is part of membership.

HTTP status: 403

mail_off: Email is not configured in this environment, so nothing can be sent.

HTTP status: 409

membership_required: This is part of membership.

HTTP status: 403

method_not_allowed: This address does not accept that kind of request.

HTTP status: 405

needs_reauth: Please confirm it's you again to continue.

HTTP status: 403

no_email: This account has no email address.

HTTP status: 400 and 409

no_pending_email: There is no pending email change to confirm.

HTTP status: 409

no_seed_record: There is no original to restore.

HTTP status: 404

no_subscription: There is no subscription to manage.

HTTP status: 404

not_eligible: Guest accounts cannot do this. Please sign up first.

HTTP status: 403

not_email_account: This account does not sign in with an email address and password.

HTTP status: 400

not_found: What you asked for could not be found.

HTTP status: 404

not_publishable: This is not ready to publish.

HTTP status: 422

notice_not_dead: That notice is not dead: it was sent, or it is still being retried.

HTTP status: 409

passkey_cloned: That passkey's usage record looks wrong, so we refused the sign-in for your safety. Sign in another way and consider removing it.

HTTP status: 401

passkey_flow_invalid: That passkey attempt expired. Please start again.

HTTP status: 400

passkey_invalid: We couldn't verify that passkey. Try again, or sign in another way.

HTTP status: 401

passkey_limit: You've reached the limit of passkeys on this account. Remove one you no longer use first.

HTTP status: 409

passkey_name_invalid: The name can't be empty or longer than 60 characters.

HTTP status: 400

passkey_registration_failed: We couldn't add that passkey. It may already be added — try a different one.

HTTP status: 400

passkeys_disabled: Passkeys are not turned on in this environment.

HTTP status: 503

password_already_set: This account already has a password. Use "Change password" instead.

HTTP status: 409

password_breached: That password has appeared in a known data breach. Please choose one you have never used anywhere else.

HTTP status: 400

password_too_long: That password is too long.

HTTP status: 400

password_too_similar: That password is too similar to your email address. Please choose another.

HTTP status: 400

performance_midi: This MIDI file was recorded from a performance, so its rhythm isn't written down precisely enough to read as notation. Export MusicXML, or a MIDI file saved from notation software, instead.

HTTP status: 422

plan_change_conflict: Your subscription changed a moment ago, so this change was not made. Refresh the page, check your current plan and try again.

HTTP status: 409

plan_change_in_progress: Another change to this subscription is still being processed. Wait a moment and try again.

HTTP status: 409

plan_change_needs_subscription: There is no renewing subscription to change. Choose a plan on the membership page instead.

HTTP status: 409

plan_change_not_subscription: Lifetime access is bought at checkout, not by changing a subscription's plan.

HTTP status: 400

plan_change_payment_failed: The payment for the upgrade did not go through, so your plan has not changed. Update your payment method from the account page and try again.

HTTP status: 402

plan_change_required: You already have a subscription. Change its plan on the membership page instead of buying a second one.

HTTP status: 409

plan_change_requires_action: The payment for the upgrade needs confirmation from your bank. Complete it on the payment page; until you do, your plan does not change.

HTTP status: 402

plan_unchanged: That is already your plan.

HTTP status: 409

promotion_code_invalid: That promotion code can't be used. It may have expired, run out, or not apply to this purchase. You can remove the code and continue at the listed price.

HTTP status: 400

purchase_not_active: The store reports this purchase as no longer valid — it may have been refunded or expired. Check your subscriptions in the store.

HTTP status: 409

purchase_owned_elsewhere: This purchase belongs to another account, so it was not moved. To use it on this account, choose Restore purchases on the membership page.

HTTP status: 409

rate_limited: That was a bit too fast. Please try again in a moment.

HTTP status: 429

reauth_code_unavailable: This account confirms it's you another way. Please use one of the other options.

HTTP status: 400

reauth_code_undeliverable: We can't send a confirmation code to your email right now. Please try again later.

HTTP status: 503

refresh_invalid: Your session is no longer valid. Please sign in again.

HTTP status: 401

restore_too_early: The restoration window hasn't opened: material comes back no sooner than 10 business days after the counter-notice.

HTTP status: 409

revert_conflict: The old email address now belongs to another account, so it can't be restored. Please contact support.

HTTP status: 409

revert_invalid: This undo link is invalid, has already been used or has expired.

HTTP status: 400

score_empty: There are no notes to play in that part. If the file has several parts, choose another one.

HTTP status: 422

score_encoding: That MusicXML file uses a character encoding this site can't read. Export it again as UTF-8, or as compressed MusicXML (.mxl).

HTTP status: 422

score_held_down: The music in this file was taken down from your account after a copyright notice, so it can't be imported again.

HTTP status: 451

score_limit: Your score library is full.

HTTP status: 409

score_not_editable: Only an imported score can be corrected. Correct the score it was made from, then make the simplified or transposed edition again.

HTTP status: 409

score_too_large: That file is larger than a score should be. The limit is 4 MB, and a compressed .mxl or .mscz file is usually far smaller.

HTTP status: 413

score_too_long: That score has more notes than one import can hold (8,000). Import one movement or one part at a time.

HTTP status: 422

score_too_many_measures: That score has more measures than one import can hold (2,000). Import one movement at a time.

HTTP status: 422

score_too_many_parts: That file has more parts than one import can read (32). Export just the piano part and import that.

HTTP status: 422

score_withdrawn: This score was taken down after a copyright notice, so it can't be opened, played, exported or edited. Your library shows the case number; if you disagree, you can send a counter-notice as section 8 of the Terms describes.

HTTP status: 451

session_check_unavailable: We couldn't confirm your sign-in just now. Please try again in a moment.

HTTP status: 503

session_revoked: This device was signed out. Please sign in again.

HTTP status: 401

sign_in_method_not_found: That sign-in method wasn't found.

HTTP status: 404

signup_ticket_invalid: This sign-up has expired. Please sign in with your provider again.

HTTP status: 400

slug_taken: Another lesson in this course already uses that slug.

HTTP status: 409

smpte_midi: This MIDI file keeps time in video frames rather than beats, so its rhythm can't be read as notation. Export MusicXML instead.

HTTP status: 422

social_disabled: That sign-in method is not available.

HTTP status: 503

social_nonce_invalid: That sign-in has expired or was already used. Please start it again.

HTTP status: 400

social_signup_year_required: Before we create your account, please choose the year you were born.

HTTP status: 428

social_unavailable: Third-party sign-in is temporarily unavailable. Please try again shortly.

HTTP status: 503

storage_disabled: Object storage is not configured in this environment, so avatars cannot be uploaded.

HTTP status: 503

store_unavailable: In-app purchases are not available in this version. You can subscribe on the website instead.

HTTP status: 503

store_verify_failed: We could not check this purchase with the store just now. Please try again shortly — you will not be charged twice.

HTTP status: 502

terms_outdated: The terms have been updated. Please reload the page and try again.

HTTP status: 409

throttled: That was a bit too fast. Please try again shortly.

HTTP status: 429

too_many_attempts: Too many failed attempts. Please try again later.

HTTP status: 429

totp_already_enabled: Two-step verification is already on.

HTTP status: 409

totp_challenge_expired: That verification session has expired. Please sign in again.

HTTP status: 400

totp_enrollment_changed: That authenticator setup was replaced or has expired. Scan a new QR code to start again.

HTTP status: 409

totp_no_pending: Scan the QR code first, then enter the code.

HTTP status: 409

totp_not_enabled: Two-step verification is not on.

HTTP status: 409

two_factor_not_enabled: Two-step verification is not on for this account, so there is nothing to reset.

HTTP status: 409

unauthenticated: Please sign in first.

HTTP status: 401

unknown_plan: That plan no longer exists or is no longer for sale.

HTTP status: 400

unknown_product: We do not recognize that item. Please update the app and try again.

HTTP status: 400

unreadable_score: That file is damaged or incomplete, so it couldn't be read. Try exporting it again.

HTTP status: 422

unsupported_score: That isn't a file this site can read as a score. From your notation app, export MusicXML (.musicxml or .mxl) or MIDI (.mid), or save a MuseScore file (.mscz).

HTTP status: 415

upstream_unavailable: The service cannot be reached right now. Please try again in a moment.

HTTP status: 503

verification_required: Please enter the code we emailed you.

HTTP status: 400

verification_unavailable: We couldn't check that code just now. Please try again in a moment.

HTTP status: 503

waiver_required: Please confirm that access begins immediately and that you waive the 14-day right to withdraw.

HTTP status: 400

weak_password: That password is too short: use at least 8 characters. A few unrelated words make a strong passphrase.

HTTP status: 400

webhook_not_replayable: That webhook cannot be replayed now: it was already processed, is still being handled, or comes from a source with no replay.

HTTP status: 409

webhook_provider_unavailable: That payment provider is not configured here, so the event cannot be replayed.

HTTP status: 503

webhook_replay_failed: The replay failed again; the error is recorded on the webhook.

HTTP status: 502