Capital.com API error code
Capital.com API error: error.size.createwatchlistrequest.name
The error, as text you can copy
error.size.createwatchlistrequest.name - Kind
- API error code
- HTTP status
- 400
- API
- Capital.com
What does error.size.createwatchlistrequest.name mean on the Capital.com API?
The name in a create watchlist request is not an accepted size. Capital.com shows this error on POST /watchlists without further description, so this reading comes from the code's own name.
Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.
How do I fix error.size.createwatchlistrequest.name?
Send a watchlist name of an accepted length. The page does not state the bounds beside the error.