Good Day Developers,
So i tried to get the information of listMarketCatalogue but nothing is happens.
Call to api-ng failed: Response: {"faultcode":"Client","faultstring":"DSC-0018","detail":{}}
this returns. I am working to PHP CODE. here is the code.
$bet = new Betfair();
$appkey = Betfair::APP_KEY;
$sessionToken = Betfair::SESSION_TOKEN;
$params = '{"filter":{}}';
$jsonResponse = $bet->sportsApingRequest($appKey, $sessionToken,
'listMarketCatalogue',$params);
return $jsonRespons;
i was add to params this line of code:
$bet = new Betfair();
$appkey = Betfair::APP_KEY;
$sessionToken = Betfair::SESSION_TOKEN;
$params = '{"filter":{},
"maxResults":"1"}';
$jsonResponse = $bet->sportsApingRequest($appKey, $sessionToken,
'listMarketCatalogue',$params);
return $jsonRespons;
and this error code returns
Call to api-ng failed: Response: {"faultcode":"Client","faultstring":"ANGX-0004","detail":{"APINGException":{"requestUUID":"p rdang037-07181131-014a752954","errorCode":"NO_APP_KEY","errorDetails ":""},"exceptionname":"APINGException"}}
APP_KEy is good because i return the list of events without problems.
Thanks a lot
So i tried to get the information of listMarketCatalogue but nothing is happens.
Call to api-ng failed: Response: {"faultcode":"Client","faultstring":"DSC-0018","detail":{}}
this returns. I am working to PHP CODE. here is the code.
$bet = new Betfair();
$appkey = Betfair::APP_KEY;
$sessionToken = Betfair::SESSION_TOKEN;
$params = '{"filter":{}}';
$jsonResponse = $bet->sportsApingRequest($appKey, $sessionToken,
'listMarketCatalogue',$params);
return $jsonRespons;
i was add to params this line of code:
$bet = new Betfair();
$appkey = Betfair::APP_KEY;
$sessionToken = Betfair::SESSION_TOKEN;
$params = '{"filter":{},
"maxResults":"1"}';
$jsonResponse = $bet->sportsApingRequest($appKey, $sessionToken,
'listMarketCatalogue',$params);
return $jsonRespons;
and this error code returns
Call to api-ng failed: Response: {"faultcode":"Client","faultstring":"ANGX-0004","detail":{"APINGException":{"requestUUID":"p rdang037-07181131-014a752954","errorCode":"NO_APP_KEY","errorDetails ":""},"exceptionname":"APINGException"}}
APP_KEy is good because i return the list of events without problems.
Thanks a lot
Comment