CLI

Errors

What each failure means and what to do about it.

StatusMeaningWhat to do
400A required parameter is missingOften a locationId — pin one with pxb location use
401The token was rejectedThe client may be revoked; run pxb auth again
403Missing a scopeGrant it to the client on the console API page
404No such record, or no such endpointCheck the path; pxb help commands lists the forms
429Rate limitedThe message says how long to wait

Two local failures worth naming:

  • "No stored client secret" — the keychain entry is gone. Run pxb auth; your client ID is remembered, so you only need the secret.
  • "Could not read the client secret" — the keychain is locked or unavailable. Unlock it and run the same command again; nothing was lost.

In your terminal: pxb help errors