Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Errors

Every Shortcut API error type and code, what causes it, and how to fix it.

After this page you can handle every error the Shortcut API returns: you will know what caused it, whether to retry, and what to change. Every error body links to its section here.

The error body

Every error has the same shape, on every endpoint:

{
  "error": {
    "type": "permission",
    "code": "insufficient_scope",
    "message": "This token is missing the customers:write scope.",
    "requiredScope": "customers:write",
    "requestId": "b8f4c2e1-6d3a-4f7b-9e0c-1a2b3c4d5e6f",
    "docs": "https://docs.shortcutco.com/developers/concepts/errors#insufficient_scope"
  }
}
Field
Always present
Meaning

type

Yes

The family of error; it decides the HTTP status. Branch on it for broad handling.

code

Yes

The specific error. Branch on it for precise handling. Codes are stable; new ones may be added.

message

Yes

A sentence for a developer. It can change wording at any time; never parse it.

param

When an input caused it

Where the problem is: body.email, query.limit, query.cursor, headers.idempotency-key.

requiredScope

On insufficient_scope

The scope the token needs.

requestId

Yes

The same value as the x-request-id header. Quote it to support.

docs

Yes

A link to this page at the code's section.

Messages never repeat values you sent, so it is safe to log them.

Types

Handle an unknown code by its type, so new codes never break your integration.

invalid_request

The request itself is wrong. Retrying it unchanged gets the same answer.

validation_failed

Cause. A path parameter, query parameter, header, or body field is missing, has the wrong type or format, is out of range, or is not accepted by this endpoint. param names the first problem and message says what was expected.

Fix. Correct the field named in param and send the request again. Common cases: query.limit: Must be at most 200., a date that is not YYYY-MM-DD, an id that is not a UUID, a field name with a typo (bodies are strict, so unknown fields are refused rather than ignored). Send the corrected request with a new Idempotency-Key; see Idempotency.

invalid_json

Cause. The body of a POST, PUT, or PATCH is not valid JSON. param is body.

Fix. Send a JSON object with Content-Type: application/json. In a shell, check your quoting: -d '{"firstName": "Robin"}' with single quotes outside and double quotes inside.

body_too_large

Cause. The request body is larger than 1 MB.

Fix. Send less per request. No single record needs a body that size; split bulk work into one request per record.

invalid_cursor

Cause. The cursor is not one Shortcut issued, has expired, or was issued for different filters than this request has. param is query.cursor.

Fix. Repeat the request with exactly the filters the cursor came from, or drop cursor to start again from the first page. Treat cursors as opaque; never build or edit one.

invalid_webhook_url

Cause. A webhook's url, in POST /v1/webhooks or PATCH /v1/webhooks/{id}, breaks a rule: it is not https, names a port other than 443, has a username or password in it, has a host name that does not resolve, or resolves to an address that is not public (private, loopback, link-local, carrier-grade NAT, multicast, documentation, reserved, or cloud-metadata). param is body.url and message says which rule. Nothing changed.

Fix. Use a public https URL on the standard port, with no credentials in it. To receive events on your own computer, use an HTTPS tunnel; see Local development.

invalid_body

Cause. The body's fields don't go together, though each one is valid on its own. For example, a held project's resume day goes only with the action that moves it. message says which fields clash.

Fix. Send the fields that go with the action you chose, then retry.

unauthenticated

Shortcut could not tell which token sent the request. Every 401 carries a WWW-Authenticate header.

token_missing

Cause. There is no Authorization header, or it has no bearer token.

Fix. Send Authorization: Bearer scut_... on every request. Tokens in the query string are never read.

token_invalid

Cause. The token is unknown, revoked, expired, or malformed. Shortcut answers all four the same way on purpose, so a guessed token learns nothing.

Fix. Check that the header is Bearer , one space, then the whole token, with nothing cut off when it was copied. Check Settings → API & integrations for whether the token was revoked or has expired; if so, create a new one. Many failed attempts from one address in a minute are answered too_many_requests for a minute.

billing

subscription_required

Cause. The workspace's Shortcut subscription needs attention, so the API is paused for it, as the app is.

Fix. A company admin updates the subscription in Settings → Plans & billing. Requests work again as soon as it is in good standing. Do not retry in a loop.

route_optimization_not_in_plan

Cause. Clip, the in-app teammate, was asked to build a crew's route with the route optimizer, and route optimization isn't on the company's plan. Nothing changed. API tokens never get this answer.

Fix. A company admin adds the Optimize plan in Settings → Plans & billing, or the crew's stops are ordered by hand on the dispatch board.

permission

insufficient_scope

Cause. The token is missing a scope this request needs. requiredScope names it. A request can also need a second scope because of what it would change: creating a lead whose email belongs to an existing customer needs customers:write as well as leads:write, and is refused before anything is created.

Fix. A company admin creates a new token with the scope in requiredScope and you replace the old token with it. Scopes cannot be added to an existing token. See Scopes.

feature_unavailable

Cause. The record can be read through the API but not changed through it, such as a chemical service, whose settings live in the app's chemical settings. Nothing changed.

Fix. Make the change in the Shortcut app. A new token does not change this answer.

feature_not_available

Cause. The change needs a feature that isn't on the company's plan, such as inviting a customer to the customer portal when the portal isn't included. message names the feature. Nothing changed.

Fix. A company admin adds the feature to the plan in the Shortcut app, then you retry. A new token does not change this answer.

clip_write_not_allowed

Cause. Clip, the in-app teammate, asked to change something. Clip acts as the signed-in person but can only read for now, so every write it sends is refused before it runs. Nothing changed.

Fix. The person makes the change in the Shortcut app. Clip tells them what to change and where. API tokens never get this answer.

route_plan_admins_only

Cause. Clip, the in-app teammate, was asked to build a crew's route with the route optimizer for someone who isn't a company admin. Only admins can, as on Routing. Nothing changed. API tokens never get this answer.

Fix. A company admin builds the route, or the crew's stops are ordered by hand on the dispatch board.

customer_merge_admins_only

Cause. Clip, the in-app teammate, was asked to merge a customer added twice for someone who isn't a company admin. Only admins can, because a merge can't be undone. Nothing changed. API tokens never get this answer.

Fix. A company admin asks Clip for the merge.

not_found

resource_not_found

Cause. No record with that id exists in this token's workspace. Ids that belong to another workspace get the same answer, so a 404 never reveals whether an id exists elsewhere.

Fix. Check the id came from this workspace and from the right resource: a lead id is not a customer id. If you store ids from a sync, the record may have been replaced; list again.

operation_not_found

Cause. The path names an operation this API does not offer to API tokens. A few operations exist only for Shortcut's own features, such as Clip, the in-app teammate; to a token they answer as if they did not exist.

Fix. Check the method and path against the API reference. Nothing a token can change makes this operation available.

conflict

already_exists

Cause. The request would create a second record where only one is allowed: a service, product, or tag with the name of one the workspace already has, or an external id that already belongs to another record. Names are compared regardless of case, and deactivated services and archived products count. For a name clash, param is body.name. For an external id, param is body.externalReference, body.services.<n>.externalReference (jobs), or body.externalId, message names the record that has it, and nothing from the request was saved.

Fix. Do not retry. Use the existing record, or choose another name. To keep an external id in step with a record, use the external upsert (PUT /v1/customers/external/{source}/{externalId}, and the same path under properties, leads, and jobs); see Sync.

email_in_use

Cause. Creating or changing a customer would give them an email that another customer, or a team member, in the workspace already has. param is body.email. When the email belongs to a customer, message names that customer's id; a team member is never named. Nothing changed.

Fix. Use the existing customer, or a different email. A customer's email is optional on create.

external_reference_exists

Cause. PUT /v1/customers/{id}/external-references/{source} (or the property, lead, or job version) asked to link a record that already has a different id in that source. param is params.source. Nothing changed.

Fix. If the new id is right, unlink the old one with DELETE on the same path, then link again.

external_reference_customer_mismatch

Cause. PUT /v1/properties/external/{source}/{externalId} or PUT /v1/jobs/external/{source}/{externalId} named a customerId, but the id already belongs to a property or job of another customer. param is body.customerId. Nothing changed.

Fix. Send the customer the record belongs to (GET on the same path shows it), or use a different external id for the other customer's record.

external_reference_changed

Cause. The external id was removed by another request while this upsert was running. Nothing changed.

Fix. Retry the same request.

job_superseded

Cause. A price change in the app replaced the job with a new version, and the request named the replaced version: the job external lookup, upsert, or list filter found an id still pointing at it, or a link named its id. The app moves a job's external ids to the new version when it replaces the job, so this means a link made from a stale job id. message names the current job. Nothing changed.

Fix. Use the job the message names. To keep your id on it, link it with PUT /v1/jobs/{id}/external-references/{source} after unlinking the old one.

customer_not_inactive

Cause. POST /v1/customers/{id}/reactivate asked to resume jobs (resumeJobs now or date) for a customer who is not inactive. Nothing changed.

Fix. Nothing to reactivate. Resume a paused job with POST /v1/jobs/{id}/resume.

idempotency_key_in_use

Cause. Another request with the same Idempotency-Key (or MCP requestKey) is still running. param is headers.idempotency-key, and Retry-After is 1.

Fix. Wait for Retry-After seconds and send the same request with the same key. You then get the first request's answer. See Idempotency.

state_conflict

Cause. The record's current state does not allow this action, and the app would refuse it the same way: for example canceling a completed job, or deactivating a service that open estimates or jobs still use. message says which rule applies. Nothing changed.

Fix. Read the record again and act on its current status. To deactivate a service that is still in use, send POST /v1/services/{id}/deactivate?force=true; the jobs that use it keep it.

lead_is_customer

Cause. You asked to dismiss a lead that stands for a customer: it is at the customer stage, or linked to an active customer account. Nothing changed.

Fix. Leave the lead as it is and manage the customer instead.

webhook_limit_reached

Cause. The workspace already has 20 webhooks, the most it can have, whatever their status. Nothing was created.

Fix. Delete a webhook you no longer use with DELETE /v1/webhooks/{id}, or add event types to an existing webhook with PATCH /v1/webhooks/{id} instead of creating another.

property_map_would_clear

Cause. A PATCH /v1/leads/{id}, PATCH /v1/properties/{id}, or PUT /v1/properties/external/{source}/{externalId} moves the address to another spot, which clears the property map, its measured areas, and a square footage taken from that map. Shortcut refuses the change unless you confirm it. message says what would be removed, such as the number of measured areas and the measured square footage. param is body.confirmClearPropertyMap, and nothing changed. The external upsert treats an unchanged address as unchanged, whatever coordinates you send with it.

Fix. If the move is intended, ask the person to confirm, then send the same body with "confirmClearPropertyMap": true. The response's meta.effects lists what was cleared: property_map_cleared, measurements_cleared, sq_footage_cleared.

delivery_not_retryable

Cause. POST /v1/webhooks/{id}/deliveries/{deliveryId}/retry names a delivery that is not failed or exhausted: it was delivered, it is still waiting for an attempt, or an attempt of it is being sent right now. Test events cannot be retried either. Nothing changed.

Fix. Check the delivery's status in GET /v1/webhooks/{id}/deliveries. A pending or held delivery will be sent without your help. For a test event, send another with POST /v1/webhooks/{id}/test. See Retries and monitoring.

webhook_not_active

Cause. A delivery can be retried only while its webhook is active, and this one is paused or disabled. Nothing changed.

Fix. Set the webhook back to active with PATCH /v1/webhooks/{id} and { "status": "active" }, then retry. Resuming a paused webhook already sends the events it held.

reminder_in_progress

Cause. POST /v1/invoices/{id}/remind or POST /v1/estimates/{id}/remind repeated a request (the same Idempotency-Key, or no key within the same ten minutes) whose first attempt is still sending the reminder. Nothing was sent by this request.

Fix. Retry the same request, with the same Idempotency-Key, after Retry-After seconds. This refusal is not stored for the key. Once the first attempt finishes, the retry returns its reminder with meta.alreadyReminded: true. If the first attempt stopped before finishing, the retry sends the reminder itself, five minutes after the first attempt started; in that case the customer can receive it twice.

estimate_expired

Cause. POST /v1/estimates/{id}/approve reached an estimate past its expiry date. As in the app, the estimate is now marked expired, and that change is saved. No jobs were created.

Fix. Create a new estimate for the customer, or ask the office to reopen it in the app, and approve that.

customer_comms_suppressed

Cause. POST /v1/estimates/{id}/send or POST /v1/estimates/{id}/remind reached a workspace whose customer messages are paused, so nothing was sent. message says why.

Fix. Resume customer messages in the workspace's settings in the app, then retry.

unprocessable

idempotency_key_reused_with_different_payload

Cause. This Idempotency-Key was already used in the last 24 hours for a different request: another endpoint, or a different path, query, or body. param is headers.idempotency-key. Nothing ran.

Fix. Use a new key for each distinct write. This follows an attempt the write itself refused, such as one with an unusable phone number: that refusal was stored with the key, so the corrected request needs a fresh key.

rule_violation

Cause. The request breaks one of the app's rules for this record, such as setting a crew on a one-time job (only recurring jobs have a crew of their own; a one-time job's crew is set on its visit). message names the rule. Nothing changed.

Fix. Change the request to follow the rule in message. Retrying it unchanged gets the same answer.

jobs_not_resumable

Cause. POST /v1/customers/{id}/reactivate with resumeJobs now or date reached a paused job that cannot be resumed from that date. message says why. Nothing changed: the customer is still inactive.

Fix. Reactivate with resumeJobs: "keep_paused", then resume the jobs you can one at a time with POST /v1/jobs/{id}/resume.

autopay_charge_required

Cause. POST /v1/invoices/{id}/send was called for a draft whose customer pays by autopay. Sending it in the app charges their saved payment method, and the API never starts a charge. Nothing was sent.

Fix. Send this invoice from the app. Drafts for customers without autopay can be sent through the API.

amount_mismatch

Cause. POST /v1/invoices/{id}/payments was called with an amount that is not the invoice's total. Recording an offline payment settles the invoice in full, as Mark paid does in the app; partial payments are not supported. message names the total. Nothing was recorded.

Fix. Read the invoice with GET /v1/invoices/{id} and send its total as amount.

no_recipient

Cause. POST /v1/invoices/{id}/remind asked for email, text, or both, but the customer has no email or phone on file for any channel asked for. Nothing was sent.

Fix. Add the customer's email or phone in the app, or ask only for a channel the customer has.

token_creator_unavailable

Cause. The write is recorded on the customer's notes in the name of the person who created the token, and that person is no longer an admin of the workspace. Voiding an invoice and undoing a payment return this. Nothing changed.

Fix. Have a current admin create a new token in Settings and use it instead.

attachments_unavailable

Cause. A post was sent with files, and file storage is not available to the API right now. Nothing was posted.

Fix. Retry after the Retry-After seconds, or post the text without the files.

not_note_author

Cause. A request changed or removed a profile note someone else wrote. As in the app, only the note's author can change or remove it; the API acts as the admin who created the token or approved the app.

Fix. Add a new note with the correction instead, or ask the author to change it in the app.

level_too_low

Cause. The token or app is set to Off or Look for the area this request belongs to (customers, schedule, messages, estimates, payments, team, settings, reports). Scopes say what a connection may ever touch; levels say how far it goes without a person. Nothing was changed.

Fix. Leave it for a person to do in Shortcut, or ask a company admin to raise the area's level under Settings > API & integrations.

draft_only

Cause. The area is set to Draft: the connection may prepare work there, but not message customers or move money. Nothing was sent or charged.

Fix. Leave the draft for a person to send in Shortcut, or ask a company admin to raise the level to Do after approval or Do.

connection_revoked

Cause. A change waited for approval, and the token or app that asked was revoked or disconnected before a company admin approved it. It appears in an action's result. Nothing was changed.

Fix. Reconnect the app or create a new token, then ask again.

message_refused

Cause. POST /v1/customers/{id}/messages could not send: the Inbox refused it as it would in the app, for a reason message names. Nothing was sent. The customer may have replied STOP or unsubscribed, the number may be blocked, or there is no phone or email on file.

Fix. Tell the person; do not retry with another channel to get around an opt-out.

message_not_delivered

Cause. The text or email provider did not accept the message. Nothing was delivered.

Fix. Retry after the Retry-After seconds with the same Idempotency-Key.

metric_not_available

Cause. GET /v1/reports/metric was asked for a period or grouping that metric does not take. param names which.

Fix. Use a period and grouping GET /v1/reports/metrics lists for the metric, or say the number cannot be measured that way yet.

cant_measure_yet

Cause. Clip, the in-app teammate, asked the metric catalog for a number it does not work out yet: a period, grouping or filter that metric does not take. Only Clip's own operations return this; API tokens never see it.

Fix. Ask with a period, grouping or filter the metric lists, or answer that the number can't be measured yet.

outside_forecast

Cause. Clip, the in-app teammate, asked for weather on days the forecast does not cover: before today, more than 15 days ahead, or with to before from. Only Clip's own operations return this; API tokens never see it.

Fix. Ask for days from today up to 15 days ahead, with from on or before to.

no_location

Cause. Clip asked for the weather forecast, but the workspace has no company address or route start on file, so there is no place to forecast. Only Clip's own operations return this; API tokens never see it.

Fix. Add the company address in Settings › Company & brand, then ask again.

forecast_unavailable

Cause. Clip asked for the weather forecast and the weather service did not answer in time or answered with an error. Only Clip's own operations return this; API tokens never see it.

Fix. Try again in a few minutes.

service_not_supported

Cause. An estimate line's serviceId names a chemical or snow service. Those lines need terms the API does not take, such as application plans and storm triggers. param points at the line. Nothing was created.

Fix. Leave the line out and add it to the estimate in the app, or use a standard service.

estimate_not_sendable

Cause. POST /v1/estimates/{id}/send refused the estimate as the app would: it has no lines, the customer has no email (or phone, for a text), or no channel was chosen. message says which. Nothing was sent.

Fix. Fix what message names, such as adding a line with PATCH /v1/estimates/{id} or sending by the channel the customer has, then send again.

estimate_not_approvable

Cause. POST /v1/estimates/{id}/approve could not approve the estimate: it has no customer or property to create jobs for, or a line's chemical plan cannot be used. message says which. Nothing changed.

Fix. Fix the estimate in the app, then approve again.

reminder_not_sent

Cause. POST /v1/estimates/{id}/remind found nowhere to send the reminder: the customer has no email or phone for the channels chosen, or every channel was skipped (unsubscribed, reported as spam, or opted out of texts). message gives the first reason. Nothing was sent, so the ten-minute window stays open.

Fix. Choose a channel the customer can receive, or update their contact details, then remind again.

screen_refused

Cause. A Clip action saves through the same save the Shortcut screen uses, and that save refused the change without naming a code of its own. message carries the screen's own words, the reason the person would have seen there. type follows the screen's answer, so it may be any type on this page.

Fix. Read message, change what it names, then approve a fresh draft or make the change on the screen.

snow_offer_blocked

Cause. The on-call snow offer can't go out: nobody on that list can get it, or the Snow panel's own check blocked it. message carries the panel's reason.

Fix. Fix what message names, or send the offer from the Snow panel.

quiet_hours

Cause. It is quiet hours for the customers on the snow offer's list. Clip never sends through quiet hours.

Fix. Wait until quiet hours end, or send the offer from the Snow panel, which asks the person to confirm sending now.

typed_confirmation

Cause. The snow offer's batch is big enough that the Snow panel asks for a typed confirmation, which Clip can't give.

Fix. Send the offer from the Snow panel.

completion_hold_closed

Cause. Clip was asked to undo a visit completion after its undo window closed, or while the visit's jobs could not be locked for the change. message says which. The visit stays complete.

Fix. Nothing to retry: a completion can only be undone for a few minutes after it was recorded. Reopen the visit in the app if it was completed by mistake.

email_refused

Cause. An email Clip was asked to send could not be handed to the mail provider: the provider rejected the message or the office mailbox is not set up to send. message carries the reason. Nothing was sent.

Fix. Check the office mailbox under Settings, then approve a fresh draft from Clip or send the email from the inbox.

note_too_long

Cause. A note Clip was asked to save on a customer or property is longer than 1,000 characters. Nothing changed.

Fix. Shorten the note, then ask again.

customer_merge_blocked

Cause. Clip, the in-app teammate, was asked to merge a customer added twice, and the duplicate has invoices, payments, a saved card, a price change or a portal login. Moving those could charge or show the wrong person, so Clip only merges duplicates without them. message names what the duplicate has. Nothing changed. API tokens never get this answer.

Fix. Keep the other customer instead if it has none of these, or deactivate the duplicate from its customer page.

customer_merge_same_customer

Cause. Clip, the in-app teammate, was asked to merge a customer into itself. Nothing changed. API tokens never get this answer.

Fix. Pick the two different customers to merge.

rate_limited

Every 429 carries Retry-After in seconds. See Rate limits.

too_many_requests

Cause. This token went past its own limit (600 requests or 120 writes a minute), or this address sent too many requests with failing tokens.

Fix. Wait Retry-After seconds, then continue at a lower rate. Watch RateLimit-Remaining and slow down before it reaches zero.

workspace_rate_limited

Cause. The workspace as a whole went past one of its shared windows: 2,000 requests a minute or 300 writes a minute across all its tokens, or 20 leads a minute created through the API. This code covers every workspace window.

Fix. Wait Retry-After seconds. Because the limit is shared, another integration in the same workspace may be using it; spread heavy jobs over time rather than adding tokens.

invoice_recently_reminded

Cause. POST /v1/invoices/{id}/remind was called for an invoice already reminded through the API in the last ten minutes, by any token. Nothing was sent. A repeat of the request that sent that reminder, with the same Idempotency-Key, is not refused: it returns the first reminder with meta.alreadyReminded: true.

Fix. Wait Retry-After seconds before reminding this invoice again, or don't: the customer already has a recent reminder.

estimate_recently_reminded

Cause. POST /v1/estimates/{id}/remind came within ten minutes of the estimate's last reminder. Nothing was sent. If the request carried an Idempotency-Key, this answer is stored for that key and replayed for it, even after the window.

Fix. Wait Retry-After seconds, then remind with a new Idempotency-Key.

unavailable

A 503 is temporary. Every one carries Retry-After.

follow_up_not_queued

Cause. POST /v1/estimates/{id}/approve approved the estimate and created its jobs, but queueing their visits and the email to the workspace's admins failed. Retry-After is 5.

Fix. Approve again after Retry-After seconds, with the same Idempotency-Key if you sent one. The retry re-queues the follow-up work and creates no jobs twice; its response has meta.alreadyApproved: true.

rate_limiter_unavailable

Cause. Shortcut could not reach the service that counts requests, and this request is one whose limits must hold before it runs: writes that create leads, message customers, or change money.

Fix. Retry after Retry-After seconds with the same idempotency key. Reads are not affected.

transaction_timeout

Cause. The write's database work took too long, or could not start in time, and was rolled back. Nothing was saved. Retry-After is 5.

Fix. Retry after Retry-After seconds. Reusing the same Idempotency-Key is safe: the retry runs the request again rather than replaying this error.

stop_completion_in_progress

Cause. Another POST /v1/visits/{id}/complete request with completeStop=true is completing the same stop right now. Nothing was done by this request. Retry-After is 5.

Fix. Retry after Retry-After seconds. Reusing the same Idempotency-Key is safe: the retry runs the request again rather than replaying this error, and completes whatever the other request left open.

billing_unavailable

Cause. Shortcut could not confirm the workspace's subscription status for this request.

Fix. Retry after Retry-After seconds with the same idempotency key.

webhook_signing_unavailable

Cause. Shortcut could not issue a webhook signing secret, so the webhook was not created or its secret was not rotated. Nothing changed. Retry-After is 3600.

Fix. Retry after Retry-After seconds. If it keeps happening, contact Shortcut support with the requestId.

dependency_unavailable

Cause. A service the write depends on could not be reached, such as the payment provider when an online payment in progress must be canceled before an offline payment is recorded, or the notification queue when a reminder is sent. message says which. Retry-After is 30.

Fix. Retry after Retry-After seconds with the same idempotency key.

text_not_delivered

Cause. A text Clip was asked to send reached the texting provider but came back as failed, so the customer did not get it. message carries the provider's reason when it gave one. Retry-After is 30. Nothing else in that action was affected; the card shows which customer was missed.

Fix. Check the customer's phone number, then approve a fresh draft from Clip or send the text from the inbox.

email_not_delivered

Cause. An email Clip was asked to send reached the mail provider but came back as failed, so the customer did not get it. Retry-After is 30. Nothing else in that action was affected; the card shows which customer was missed.

Fix. Check the customer's email address, then approve a fresh draft from Clip or send the email from the inbox.

route_optimizer_unavailable

Cause. Clip, the in-app teammate, asked the route optimizer for a crew's best order and it didn't answer in time or answered with an error. Nothing changed. API tokens never get this answer.

Fix. Ask Clip again in a minute.

internal

internal_error

Cause. Something failed on Shortcut's side. It is recorded with the request id.

Fix. Retry with exponential backoff and the same idempotency key. If it keeps happening, contact Shortcut support with the requestId.

Errors on the MCP server

The MCP server uses the same type and code vocabulary, so this page covers both.

  • A tool call that fails returns a tool result with isError: true. Its structuredContent is exactly the error body above, and its text content is the same JSON. When the error says to wait, the result adds the sentence Retry after N seconds. and _meta["com.shortcutco/retryAfterSeconds"].

  • A tool call that needs a scope the token lacks is answered with HTTP 403 and a JSON-RPC error instead, with error.data holding the insufficient_scope body and a WWW-Authenticate: Bearer error="insufficient_scope", scope="…" header, so MCP clients can tell the user which scope to grant.

  • A missing or invalid token is HTTP 401 with a JSON-RPC error whose error.data holds the token_missing or token_invalid body.

  • A rate-limited message other than a tool call, such as initialize or tools/list, is HTTP 429 with JSON-RPC error code -32002, a Retry-After header, and the too_many_requests or workspace_rate_limited body in error.data. A rate-limited tool call is a tool result with isError: true, as above.

See MCP overview for the rest of the protocol details.

Last updated