API error messages

When you have your Bitvavo API keys connection set up it is possible you run into some error codes.

In this article, you can find what the error code means and what you can do about it. 


Error code

Type

Description

101

ExchangeError,// Unknown error.

The operation may or may not have succeeded.

102

BadRequest

Invalid JSON

103

RateLimitExceeded

You have been rate limited. Please observe the Bitvavo-Ratelimit-AllowAt header to see when you can send requests again. Failure to respect this limit will result in an IP ban. The max value is 1000 weighted requests per minute.

104

RateLimitExceeded

You have been rate limited by the number of new orders. The max value is 100 new orders per second or 100.000 new orders per day by default. Please update existing orders instead of cancelling and creating orders.

105

PermissionDenied

Your IP or API key has been banned for not respecting the rate limit. The ban expires at ${expiryInMs}.

107

ExchangeNotAvailable

The matching engine is overloaded. Please wait 500ms and resubmit your order.

108

ExchangeNotAvailable

The matching engine could not process your order in time. Please consider increasing the access window or re-submit your order.

109

ExchangeNotAvailable

The matching engine did not respond in time. The operation may or may not have succeeded.

110

BadRequest

Invalid endpoint. Please check URL and HTTP method.

200

BadRequest

${param} URL parameter is not supported. Please note that parameters are case-sensitive and use body parameters for PUT and POST requests.

201

BadRequest

${param} body parameter is not supported. Please note that parameters are case-sensitive and use URL parameters for GET and DELETE requests.

202

BadRequest

${param} order parameter is not supported. Please note that certain parameters are only allowed for market or limit orders.

203

BadSymbol

{"errorCode":203,"error":"symbol parameter is required."}

204

BadRequest

${param} parameter is not supported.

205

BadRequest

${param} parameter is invalid.

206

BadRequest

Use either ${paramA} or ${paramB}. The usage of both parameters at the same time is not supported.

210

InvalidOrder

Amount exceeds the maximum allowed amount (1000000000).

211

InvalidOrder

Price exceeds the maximum allowed amount (100000000000).

212

InvalidOrder

Amount is below the minimum allowed amount for this asset.

213

InvalidOrder

Price is below the minimum allowed amount (0.000000000000001).

214

InvalidOrder

Price is too detailed

215

InvalidOrder

Price is too detailed. A maximum of 15 digits behind the decimal point are allowed.

216

InsufficientFunds

{"errorCode":216,"error":"You do not have sufficient balance to complete this operation."}

217

InvalidOrder

{"errorCode":217,"error":"Minimum order size in quote currency is 5 EUR or 0.001 BTC."}

230

ExchangeError

The order is rejected by the matching engine.

231

ExchangeError

The order is rejected by the matching engine. TimeInForce must be GTC when markets are paused.

232

BadRequest

You must change at least one of amount, amountRemaining, price, timeInForce, selfTradePrevention or postOnly.

233

InvalidOrder

{"errorCode":233,"error":"Order must be active (status new or partiallyFilled) to allow updating/cancelling."}

234

InvalidOrder

Market orders cannot be updated.

235

ExchangeError

You can only have 100 open orders on each book.

236

BadRequest

You can only update the amount or amountRemaining, not both.

240

OrderNotFound

{"errorCode":240,"error":"No order found. Please be aware that simultaneously updating the same order may return this error."}

300

AuthenticationError

Authentication is required for this endpoint.

301

AuthenticationError

{"errorCode":301,"error":"API Key must be of length 64."}

302

AuthenticationError

The timestamp is invalid. This must be a timestamp in ms. See Bitvavo-Access-Timestamp header or timestamp parameter for WebSocket.

303

AuthenticationError

Window must be between 100 and 60000 ms.

304

AuthenticationError

The request was not received within acceptable window (default 30s, or custom with Bitvavo-Access-Window header) of the Bitvavo-Access-Timestamp header (or timestamp parameter for websocket).

305

AuthenticationError

{"errorCode":305,"error":"No active API key found."}

306

AuthenticationError

No active API key found. Please ensure that you have confirmed the API key by e-mail.

307

PermissionDenied

This key does not allow access from this IP.

308

AuthenticationError

{"errorCode":308,"error":"The signature length is invalid (HMAC-SHA256 should return a 64 length hexadecimal string)."}

309

AuthenticationError

{"errorCode":309,"error":"The signature is invalid."}

310

PermissionDenied

This key does not allow trading actions.

311

PermissionDenied

This key does not allow showing account information.

312

PermissionDenied

This key does not allow the withdrawal of funds.

315

BadRequest

Websocket connections may not be used in a browser. Please use REST requests for this.

317

AccountSuspended

This account is locked. 

400

ExchangeError

Unknown error. Please contact support with a copy/screenshot of your request.

401

ExchangeError

Deposits for this asset are not available at this time.

402

PermissionDenied

You need to verify your identity before you can deposit and withdraw digital assets.

403

PermissionDenied

You need to verify your phone number before you can deposit and withdraw digital assets.

404

OnMaintenance

Could not complete this operation, because our node cannot be reached. Possibly under maintenance.

405

ExchangeError

You cannot withdraw digital assets during a cooldown period. This is the result of newly added bank accounts.

406

BadRequest

{"errorCode":406,"error":"Your withdrawal is too small."}

407

ExchangeError

Internal transfer is not possible.

408

InsufficientFunds

{"errorCode":408,"error": "You do not have sufficient balance to complete this operation."}

409

InvalidAddress

{"errorCode":409,"error":"This is not a verified bank account."}

410

ExchangeError

Withdrawals for this asset are not available at this time.

411

BadRequest

You can not transfer assets to yourself.

412

InvalidAddress

{"errorCode":412,"error":"eth_address_invalid."}

413

InvalidAddress

his address violates the whitelist.

414

ExchangeError

You cannot withdraw assets within 2 minutes of logging in.

Preguntas frecuentes

¿Por qué recibo el mensaje de error socket_218?

Esto se relaciona con la precisión del monto de activación en una orden de límite de parada. La API no requiere más de 5 cifras significativas. Por ejemplo, puedes intentar redondear 37,387.12 EUR a 37,387.1 (o incluso 37,387) EUR.

¿Fue útil este artículo?

Usuarios a los que les pareció útil: 14 de 102