Documentation
View .mdOpen in ClaudeOpen in ChatGPT

SANDBOX_FIXED_SECRET

400invalid_request

A live sandbox secret cannot be re-minted.

Cause

The generate endpoint creates the first sandbox secret for a client, but it cannot create another while a live one is present.

How to fix it

Read the current sandbox secret on the portal's API keys page, or use the rotate endpoint ("Rotate sandbox secret" in the portal) to atomically revoke it and receive a replacement. To disable it without a replacement, revoke it ("Revoke sandbox secret" in the portal, or DELETE /v1/iam/clients/{id}/client-secrets/sandbox); generate then succeeds.

Example response

400 SANDBOX_FIXED_SECRET
JSON
{
  "error_code": "SANDBOX_FIXED_SECRET",
  "error_type": "invalid_request",
  "error_message": "A live sandbox secret cannot be re-minted.",
  "hint": "Read the current sandbox secret on the portal's API keys page, or use the rotate endpoint (\"Rotate sandbox secret\" in the portal) to atomically revoke it and receive a replacement. To disable it without a replacement, revoke it (\"Revoke sandbox secret\" in the portal, or DELETE /v1/iam/clients/{id}/client-secrets/sandbox); generate then succeeds.",
  "docs_url": "https://docs.billerapi.com/errors/SANDBOX_FIXED_SECRET",
  "request_id": "d94f5e2a-8c3b-4f1e-9a7d-6b2c1e0f8a34"
}

Related

Canonical docs URL: https://docs.billerapi.com/errors/SANDBOX_FIXED_SECRET

Was this page helpful?