PL Statements v48d

Please post any questions regarding the program here.

Moderator: 2020vision

PL Statements v48d

Postby Deestar » Thu Jan 28, 2021 5:25 pm

Hi

I'm getting the following error in the log when trying to run statements on the latest version:

28012021 16:23:06:825: getAccountDetails error:System.NullReferenceException: Object reference not set to an instance of an object.
at Betting_Assistant.exchAPI.getAccountStatementBetfair(DateTime fromDate, DateTime toDate) in C:\Betting Assistant\Betfair Trading API Beta\exchAPI.vb:line 5072
28012021 16:23:09:341: getAccountDetails error:System.NullReferenceException: Object reference not set to an instance of an object.
at Betting_Assistant.exchAPI.getAccountStatementBetfair(DateTime fromDate, DateTime toDate) in C:\Betting Assistant\Betfair Trading API Beta\exchAPI.vb:line 5072
28012021 16:23:13:885: getAccountDetails error:System.NullReferenceException: Object reference not set to an instance of an object.
at Betting_Assistant.exchAPI.getAccountStatementBetfair(DateTime fromDate, DateTime toDate) in C:\Betting Assistant\Betfair Trading API Beta\exchAPI.vb:line 5072
28012021 16:23:16:855: getAccountDetails error:System.NullReferenceException: Object reference not set to an instance of an object.
at Betting_Assistant.exchAPI.getAccountStatementBetfair(DateTime fromDate, DateTime toDate) in C:\Betting Assistant\Betfair Trading API Beta\exchAPI.vb:line 5072

Any ideas?
Thanks
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am

Re: PL Statements v48d

Postby Deestar » Thu Jan 28, 2021 5:31 pm

It seems a specific error to returning the P+L from today's events. I can run one for the previous day no problem...
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am

Re: PL Statements v48d

Postby GaryRussell » Fri Jan 29, 2021 10:37 am

Seems ok here. That error suggests no data being returned from API. Might have been temporary. Is it still an issue?
User avatar
GaryRussell
Site Admin
 
Posts: 9679
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: PL Statements v48d

Postby Deestar » Fri Jan 29, 2021 10:48 am

Yes, still getting nothing for the current day. Horse Racing and Greyhounds. No problem generating reports for previous days including yesterday.
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am

Re: PL Statements v48d

Postby GaryRussell » Fri Jan 29, 2021 11:04 am

Weird. Try changing the to date to tomorrow. You shouldn't need to do this because it requests up to midnight, but just trying to rule things out.
User avatar
GaryRussell
Site Admin
 
Posts: 9679
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: PL Statements v48d

Postby Deestar » Fri Jan 29, 2021 11:07 am

No that hasn't worked, either. Uninstalled and reinstalled to no avail. Could it be an account restriction specific to me, or a specific setting? It has been working previously. I have 47 installed on my vps, and that wont run them for today either.
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am

Re: PL Statements v48d

Postby Deestar » Fri Jan 29, 2021 11:11 am

Also if i select 28th and 29th - nothing. But just 28th generates fine. Very weird
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am

Re: PL Statements v48d

Postby GaryRussell » Fri Jan 29, 2021 11:26 am

I need to see the raw API response to see what's happening. Can you install 1.3.0.48e and send the diagnostic log to admin@gruss-software.co.uk
User avatar
GaryRussell
Site Admin
 
Posts: 9679
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: PL Statements v48d

Postby Deestar » Fri Jan 29, 2021 11:35 am

So it now works with 48e Will send log via email.
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am

Re: PL Statements v48d

Postby Deestar » Thu Mar 04, 2021 10:45 am

This problem has happened again. Oddly only when I try and included yesterday (3 March) in the results.

Today runs, the 2nd runs, but the third will not even if included in a combo of the others.

Log showing following:

04032021 09:34:29:441: getAccountDetails error:System.NullReferenceException: Object reference not set to an instance of an object.
at Betting_Assistant.exchAPI.getAccountStatementBetfair(DateTime fromDate, DateTime toDate) in C:\Betting Assistant\Betfair Trading API Beta\exchAPI.vb:line 5074
04032021 09:34:29:441: Request JSON:{"fromRecord":1300,"recordCount":100,"itemDateRange":{"from":"2021-03-03T00:00","to":"2021-03-03T23:59"}}
04032021 09:34:29:441: Response JSON:{"faultcode":"Server","faultstring":"AANGX-0003","detail":{"exceptionname":"AccountAPINGException","AccountAPINGException":{"requestUUID":"ie1-aanbf01b-prd-02080927-0015ab36c8","errorCode":"UNEXPECTED_ERROR","errorDetails":""}}}
04032021 09:34:34:718: getAccountDetails error:System.NullReferenceException: Object reference not set to an instance of an object.
at Betting_Assistant.exchAPI.getAccountStatementBetfair(DateTime fromDate, DateTime toDate) in C:\Betting Assistant\Betfair Trading API Beta\exchAPI.vb:line 5074
04032021 09:34:34:719: Request JSON:{"fromRecord":1300,"recordCount":100,"itemDateRange":{"from":"2021-03-03T00:00","to":"2021-03-03T23:59"}}
04032021 09:34:34:719: Response JSON:{"faultcode":"Server","faultstring":"AANGX-0003","detail":{"exceptionname":"AccountAPINGException","AccountAPINGException":{"requestUUID":"ie1-aanbf05b-prd-02080927-00159dfda6","errorCode":"UNEXPECTED_ERROR","errorDetails":""}}}
04032021 09:34:36:620: getAccountDetails error:System.NullReferenceException: Object reference not set to an instance of an object.
at Betting_Assistant.exchAPI.getAccountStatementBetfair(DateTime fromDate, DateTime toDate) in C:\Betting Assistant\Betfair Trading API Beta\exchAPI.vb:line 5074
04032021 09:34:36:620: Request JSON:{"fromRecord":1300,"recordCount":100,"itemDateRange":{"from":"2021-03-03T00:00","to":"2021-03-03T23:59"}}
04032021 09:34:36:621: Response JSON:{"faultcode":"Server","faultstring":"AANGX-0003","detail":{"exceptionname":"AccountAPINGException","AccountAPINGException":{"requestUUID":"ie1-aanbf01b-prd-02080927-0015ab3b7e","errorCode":"UNEXPECTED_ERROR","errorDetails":""}}}
04032021 09:35:13:514: getAccountDetails error:System.NullReferenceException: Object reference not set to an instance of an object.
at Betting_Assistant.exchAPI.getAccountStatementBetfair(DateTime fromDate, DateTime toDate) in C:\Betting Assistant\Betfair Trading API Beta\exchAPI.vb:line 5074
04032021 09:35:13:514: Request JSON:{"fromRecord":1300,"recordCount":100,"itemDateRange":{"from":"2021-03-03T00:00","to":"2021-03-03T23:59"}}
04032021 09:35:13:514: Response JSON:{"faultcode":"Server","faultstring":"AANGX-0003","detail":{"exceptionname":"AccountAPINGException","AccountAPINGException":{"requestUUID":"ie1-aanbf05b-prd-02080927-00159e168b","errorCode":"UNEXPECTED_ERROR","errorDetails":""}}}
04032021 09:35:26:723: getAccountDetails error:System.NullReferenceException: Object reference not set to an instance of an object.
at Betting_Assistant.exchAPI.getAccountStatementBetfair(DateTime fromDate, DateTime toDate) in C:\Betting Assistant\Betfair Trading API Beta\exchAPI.vb:line 5074
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am

Re: PL Statements v48d

Postby GaryRussell » Thu Mar 04, 2021 11:29 am

Looks like an API issue, but I need to investigate further.
User avatar
GaryRussell
Site Admin
 
Posts: 9679
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: PL Statements v48d

Postby Deestar » Thu Mar 04, 2021 11:34 am

Thanks, i know they had a bunch of settlement issues yesterday, don't know if that has an impact. Just weird that it is only the 3rd that i cannot generate.
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am

Re: PL Statements v48d

Postby GaryRussell » Thu Mar 04, 2021 12:05 pm

It is an API issue. See https://forum.developer.betfair.com/for ... cted-error

Betfair are investigating.
User avatar
GaryRussell
Site Admin
 
Posts: 9679
Joined: Fri Nov 18, 2005 8:09 pm
Location: Birmingham, UK

Re: PL Statements v48d

Postby Deestar » Thu Mar 04, 2021 12:51 pm

They have fixed it now. Thanks
Deestar
 
Posts: 262
Joined: Sun Apr 26, 2015 8:17 am


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 16 guests

Sports betting software from Gruss Software


The strength of Gruss Software is that it’s been designed by one of you, a frustrated sports punter, and then developed by listening to dozens of like-minded enthusiasts.

Gruss is owned and run by brothers Gary and Mark Russell. Gary discovered Betfair in 2004 and soon realised that using bespoke software to place bets was much more efficient than merely placing them through the website.

Gary built his own software and then enhanced its features after trialling it through other Betfair users and reacting to their improvement ideas, something that still happens today.

He started making a small monthly charge so he could work on it full-time and then recruited Mark to help develop the products and Gruss Software was born.

We think it’s the best of its kind and so do a lot of our customers. But you can never stand still in this game and we’ll continue to improve the software if any more great ideas emerge.

cron