Esta página ainda não está disponível em Português (Brasil), por isso aparece em inglês.
Reference
Errors and idempotency keys
A failed call is a tool error (isError: true) whose text is JSON:
{ "error": "INVALID_INPUT", "message": "invalid fields", "fields": ["ends_at"] }Arguments that don't match a tool's input schema (a missing field, a value out of range, an unknown enum value such as status: verified_by_human) are INVALID_INPUT too. fields names the inputs to fix as dotted paths (bonus.amount_each, options.1.label) and comes only with INVALID_INPUT; message says what is wrong in English.
| Code | Meaning and what to do |
|---|---|
INVALID_INPUT | An input is missing, out of range or not allowed; fields names which, and message says why when that is known (e.g. an image that isn't valid base64 or isn't a PNG, JPEG or WebP, or an upload_id that is unknown, expired or already used). Fix them and call again. |
NOT_FOUND | No such app, mission, build or feedback in the apps this connection may use (other apps look the same as missing ones), or no tool with that name. |
FORBIDDEN | The connection doesn't allow this scope on that app, may not create apps, or was revoked (then connect again), or the account is suspended. |
SUBSCRIPTION_REQUIRED | The account has no active Indie or Team plan, and no team whose Team plan covers it. Choose one at pumati.app/dev/credits. |
INVALID_STATE | The mission isn't in a state that allows this, e.g. publishing one that is already published. |
DRAFT_CHANGED | The draft changed since expected_revision. Read it again with get_test and publish with the new revision. |
REVISION_CHANGED | The feedback was revised since the revision_no you reviewed. Read it again with get_feedback and review the new revision. |
CLAIMED | A Pumati reviewer is working on this feedback right now. Try again later or leave it to them. |
SPEND_LIMIT | The budget doesn't fit in what is left of this connection's spend limit. Raise it by reconnecting, or publish smaller. |
INSUFFICIENT_CREDITS | The paying balance can't cover the budget: the app owner's, or the team wallet for a team app. Buy credits at pumati.app/dev/credits (team wallet: pumati.app/dev/team). |
TEAM_SPEND_LIMIT | The budget is over this member's monthly limit on the team wallet. The team owner can raise it at pumati.app/dev/team, or publish smaller. |
TEAM_INACTIVE | The team's Team plan isn't active, so only the team owner can spend the team wallet. |
BUILD_REQUIRED | A targeted platform has no linked build. Register one and link it in build_ids. |
BUILD_NOT_APPROVED | A linked build is still waiting for review: Apple's beta review for iOS, a Pumati operator for your first Android or web build. |
BUILD_EXPIRES_TOO_SOON | A linked build expires before the mission ends. End earlier or link a newer build. |
UNTRUSTED_SOURCE | Android builds must be a Google Play test link or a Firebase App Distribution link. Direct APK links and other hosts are refused. |
UNSAFE_LINK | The malware check flagged the link. The build was not registered and Pumati's operators were told. |
APP_ARCHIVED | The app is archived: it takes no new tests, builds or comparisons and doesn't show in list_apps. The owner can unarchive it at pumati.app/dev/apps. |
APP_LIMIT | upsert_app can't create another app: without the Team plan an account has up to 3 active apps. The user archives one at pumati.app/dev/apps or chooses Team at pumati.app/dev/credits. Existing apps keep working. |
AMBIGUOUS_APP | Several of this connection's apps fit what you sent. candidates lists them (app id, name, what matched): ask the user which one, then save its id in .pumati.json. |
APP_EXISTS | upsert_app would create an app whose identifiers already name one of this connection's apps. Use the app id from candidates (ask the user if there are several). |
IDEMPOTENCY_MISMATCH | This idempotency_key was used with different input. Use a new key. |
IDEMPOTENCY_NOT_GRANTED | This key created an app this connection can't use. Use a new key. |
CONSENT_REQUIRED | report_issue was called without the user's permission. Ask them first, then pass user_consent: true and consent_note with their words. |
RATE_LIMITED | Too many reports from this connection or account in 24 hours. Try again later. |
INTERNAL | Something went wrong on our side. Retry with the same idempotency_key. If it keeps failing, the hint suggests reporting it with report_issue (ask the user first). |
Idempotency keys
Every write and publish tool takes an optional idempotency_key: 1 to 128 characters of A-Z a-z 0-9 . _ : -. A key is scoped to your account and the OAuth client that sends it: the same key from a different client (Codex after Claude Code, say) is a new request and creates a new resource. Signing in again with the same client keeps its keys; a client that registers anew (for example after removing and re-adding the server) counts as a different client.
- The same key with the same input returns the first result without doing it again, so a retry after a timeout never publishes twice.
- The same key with different input is
IDEMPOTENCY_MISMATCH: use a new key for a new request. - A call that failed stores nothing, so you can retry it with the same key.
- Concurrent calls with one key wait for the first and return its result.
Use a key that describes the intent, e.g. publish-<mission_id>-<revision>.
Draft revisions
Drafts carry a draft_revision. publish_test takes the revision you last saw as expected_revision; if someone edited the draft since (on the web, for example) it fails with DRAFT_CHANGED. Call get_test, check the draft, and publish with the new revision.
Bug report rewards
If a Pumati tool fails for no fault of its input, behaves unlike its description, or gives an unclear error, your agent may report it with report_issue, but only after asking you in that conversation. Errors that are not the caller's fault (INTERNAL and the like) come with a hint that says so. When an operator accepts a report, your account gets promo credits:
| Tier | Examples | Reward |
|---|---|---|
| Docs or wording | A tool description unlike the real behaviour, an unclear error message | 5 credits |
| Bug | Wrong behaviour you can reproduce, wrong validation | 20 credits |
| Blocker | No workaround and the work stops, wrong data, an important improvement | 50 credits |
| Security | Permissions, data exposure | 100–300 credits (operator's call) |
- Rewards are promo credits valid for one year: they pay for app tests and comparisons, not for gift cards.
- Only the first accepted report of a problem earns its reward. Later duplicates earn 0, or up to 5 for new reproduction details.
- At most 300 credits per account per calendar month (UTC); security reports are outside the cap.
- 10 reports per connection and 20 per account in 24 hours (
RATE_LIMITEDbeyond that). - Without
user_consent: trueand aconsent_notequoting what you said, the call isCONSENT_REQUIRED. Token-like strings, email addresses and phone numbers are masked before a report is stored; the server adds the connection, the client's name and the tool errors it saw (tool name and error code only). - Follow your reports at pumati.app/dev/reports or with
get_report; you are notified of each decision. A rejected report shows the reason. Security reports are seen by operators only.