Developers Program
Betfair
Home arrow Sports
Socket Error 400 Bad Request Print E-mail
Wednesday, 14 October 2009

An API user reported that they were receiving the following error when making requests to the Betfair Sports API "Socket Error 400 Bad Request".

Cause: This error is caused by sending multiple content-length values in your HTTP header.

Resolution: To solve the problem ensure that only one content-length value is set. This value must be greater than zero and valid.