Betfair API

We were all new to Bet Angel once. Ask any question you like here and fellow forum members promise not to laugh. Betfair trading made simple.
Post Reply
Vorogue18
Posts: 28
Joined: Wed Dec 19, 2018 9:22 am

Been on practice mode for a bit and going live again on Monday. Noticed odd random issues with automations cancelling bets with the log stating Betfair API problem. Remember reading a message from Betfair about this a few weeks ago. Am I right in thinking I just need to delete BA app and reinstall to fix the problem?
User avatar
Dallas
Posts: 22713
Joined: Sun Aug 09, 2015 10:57 pm
Location: Working From Home

If you can post a copy of the log someone will be able to advise the reason for the errors

Re-installing Bet Angel won't make any difference, as these type of errors are either Betfair API or connection related
Vorogue18
Posts: 28
Joined: Wed Dec 19, 2018 9:22 am

Can't locate recent log message, will likely get another one tonight, but received this email from Betfair Feb 20

"A change has been made to our API

A change was made to our API overnight which impacted a number of 3rd party tools which use the Exchange. If you are experiencing issues with your regular 3rd party tool we advise deleting the app and downloading an updated version from their site.

If this doesn’t solve the programs with the 3rd party tool you’re using you will unfortunately need to reach out to them directly."
User avatar
jimibt
Posts: 3662
Joined: Mon Nov 30, 2015 6:42 pm
Location: Narnia

Vorogue18 wrote:
Sun Mar 03, 2019 4:23 am
Can't locate recent log message, will likely get another one tonight, but received this email from Betfair Feb 20

"A change has been made to our API

A change was made to our API overnight which impacted a number of 3rd party tools which use the Exchange. If you are experiencing issues with your regular 3rd party tool we advise deleting the app and downloading an updated version from their site.

If this doesn’t solve the programs with the 3rd party tool you’re using you will unfortunately need to reach out to them directly."
make sure you are using ther latest version of BA (v1.51.2.0) as there were changes made to allow more secure comms to Betfair.

you can pick it up from the main BA product page: https://www.betangel.com/download/?product=BetAngelPro
Vorogue18
Posts: 28
Joined: Wed Dec 19, 2018 9:22 am

Thanks Dallas, Jimi...will check version and copy log if problem occurs again
Vorogue18
Posts: 28
Joined: Wed Dec 19, 2018 9:22 am

In play scalp automation threw up this message in log last night and failed to place 2 back bets in 1 race. Anyone know the meaning?

5/03/2019 01:36:26: [G_Auto] : Exception: Exception of type 'BetAngelHelper.APINGException' was thrown.
5/03/2019 01:36:26: [G_Auto] : APING Exception: APING,market id passed is invalid , -32099|ANGX-0002|BetAngelHelper.APINGErrorData
User avatar
jimibt
Posts: 3662
Joined: Mon Nov 30, 2015 6:42 pm
Location: Narnia

Vorogue18 wrote:
Tue Mar 05, 2019 12:26 am
In play scalp automation threw up this message in log last night and failed to place 2 back bets in 1 race. Anyone know the meaning?

5/03/2019 01:36:26: [G_Auto] : Exception: Exception of type 'BetAngelHelper.APINGException' was thrown.
5/03/2019 01:36:26: [G_Auto] : APING Exception: APING,market id passed is invalid , -32099|ANGX-0002|BetAngelHelper.APINGErrorData
hi there.. does soundlike a strange one. it almost sounds like thebet was placed (or attempted) on a market that had been closed.

btw - as an aside, i would suggest that you open a new thread for any new query as it's highly likely that the fact that it's a new issue will get overlooked in the noise ofother competing messages...
Vorogue18
Posts: 28
Joined: Wed Dec 19, 2018 9:22 am

Cheers Jimi, yeah was tossing up about opening new thread. Maybe a brief internet issue? Will hope it was a one off and follow up in more depth if happens again...
eightbo
Posts: 2166
Joined: Sun May 17, 2015 8:19 pm
Location: Australia / UK

Just experienced 'BetAngelHelper.APINGException' myself, the outcome was the kill part of a FoK order didn't execute and the bet was left in the market as the log suggested may happen.

03/04/2019 17:54:37: [G_Auto] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
03/04/2019 17:54:37: [G_Auto] : WARNING: The Betfair API was unable to process the bet cancellation request. Second attempt activated. (Ref: replaced)
03/04/2019 17:54:52: [G_Auto] : Exception caught while cancelling bet - Exception of type 'BetAngelHelper.APINGException' was thrown.
03/04/2019 17:54:52: [G_Auto] : WARNING: The Betfair API was unable to process the bet cancellation on the second request. It could cause calculation problems with this fill or kill bet and may leave the bet active in the market. (Ref: replaced)
03/04/2019 17:54:52: [G_Auto] : Unmatched bet (Ref:replaced) kill results unknown.


Things continued to work as expected after this brief blip. Not sure if that's useful for anyone but thought I'd dump it here anyway for anyone searching in future. My inet connection's unstable atm so probably a factor as prev. alluded to.
Post Reply

Return to “Bet Angel for newbies / Getting started”