Skip to Content
Docs

payment_required

The workspace has no plan. Choose a plan in the dashboard to go on. You can still read your data.

HTTP status: 402. Error type: permission_error.

The workspace has no plan. Choose a plan in the dashboard to go on. You can still read your data.

Example

{
  "error": {
    "type": "permission_error",
    "code": "payment_required",
    "message": "The trial of the workspace ended. Choose a plan in the dashboard to write again. You can still read your data.",
    "doc_url": "https://docs.afffast.com/errors/payment-required",
    "request_id": "req_3kQ9x7WmZpL2vNd8TfYb4A"
  }
}

Causes

  • The 14 day trial of the workspace ended and the workspace has no plan.
  • The subscription of the workspace ended and no other subscription gives a plan.
  • The request changes data in live mode (POST, PATCH or DELETE). A request that reads data never returns this code.

Test mode never returns this code. Test mode has no plan.

How to fix

  • Read the state with GET /v1/usage. The field state is trial_expired or ended. The fields links_paused_at and delete_at show when the links stop and when the data is deleted.
  • Choose a plan in the dashboard. A plan starts at once. See Plans and billing.
  • Until then, the sync is stopped and your data stays readable. The links go on for 7 days after the end of the trial. After that they show a page that says that they are paused.
  • The API keys, the workspace settings, the data export and the delete of the workspace work without a plan.

On this page