betfair icon indicating copy to clipboard operation
betfair copied to clipboard

"name" and "value" are required for setHeader().

Open bampisSyk opened this issue 10 years ago • 1 comments

I'm getting the above message when i'm trying to run the example you've posted for getting all countries

bampisSyk avatar Aug 04 '15 13:08 bampisSyk

Have you logged in with session.login()? I was getting this error in some test cases but realised it was because I hadn't logged in.

The library is attempting to set the session key header but since I hadn't logged in, the session key was undefined.

willfrew avatar Aug 23 '15 16:08 willfrew