Skip to main content

Errors

If a call fails, the SDK throws one of these errors: This example creates a secret if it doesn’t exist yet:

Retries and timeouts

If Infisical rate-limits a request, or the request fails with a network error or times out, the SDK retries the request up to four times. It waits about one second before the first retry and doubles the wait before each retry after that. If a request creates or deletes something in Agent Vault, the SDK retries it after a network error only if the request never reached Infisical, so a retry can’t make the change twice. Each request times out after 10 seconds. You can’t change the timeout or the number of retries.