Pocket StationPocket Station
Developers

API errors

Handle gRPC failures and billing error details.

Check the gRPC status and message before retrying.

Status / messageResponse
UNAUTHENTICATEDCheck authentication and replace invalid or revoked keys.
PERMISSION_DENIEDCheck scopes and your plan's API access on the Pricing page.
RESOURCE_EXHAUSTED / rate limit exceededRetry after the seconds specified by the retry-after trailer.
RESOURCE_EXHAUSTED / too many active event streamsClose unused streams.
RESOURCE_EXHAUSTED / too many pending requestsLet in-flight calls finish before retrying.

Billing failures

ErrorDetail.code starts with billing_ for billing rejections; the response preserves the billing message. Budget and plan-cap failures return RESOURCE_EXHAUSTED; plan-feature and inactive-account failures return PERMISSION_DENIED.

Before resubmitting, check the budget and your plan's limits on the Pricing page. Follow command retry rules when retrying submissions.

On this page