Skip to Content
AffFast

network_unavailable

The network is not available in this mode.

HTTP status: 422. Error type: invalid_request_error.

The network is not available in this mode.

Example

{
  "error": {
    "type": "invalid_request_error",
    "code": "network_unavailable",
    "message": "The network is not available in this mode.",
    "param": "network",
    "doc_url": "https://docs.afffast.com/errors/network-unavailable",
    "request_id": "req_3kQ9x7WmZpL2vNd8TfYb4A"
  }
}

Causes

  • The network cannot be used in the mode of your API key. For example, the Sandbox Network works with a test key (sk_test_...) only.

How to fix

  • Use a test key for the Sandbox Network. See Test mode.
  • Read availability of the network with GET /v1/networks/{id}.

On this page