Exception - Saba-sports/OddsDirectAPI GitHub Wiki
{
"statusCode": int,
"errorCode": string,
"message": string,
"details": {
....
},
"traceId": string
}
| HTTP Code | Description |
|---|---|
| 200 | Successful HTTP request. The response depends on the requested data. |
| 400 | The server cannot process the request. The reason might be the incorrect syntax, invalid request, etc. |
| 401 | The authentication has failed. |
| 403 | The request is valid, but the server refuses the action. The user might not have the necessary permissions for a resource or may need an account of some sort. |
| 500 | Unexpected condition occurred. |
| 503 | Server Unavailable. |
| Error Code | Message | Description |
|---|---|---|
| A001 | Unauthorized | login or refreshToken failed. |
| A002 | Member not found | The system can not find the member information. |
| A003 | Prohibited Visit | User can not visit. |
| A004 | Member Not Online | Member is not online. |
| E001 | Internal Server Error | The server encountered an unexpected condition that prevented it from fulfilling the request. |
| E002 | Invalid parameter input | The parameter input is invalid or not support. |
| E003 | Invalid OData query attributes | The Odata query attributes are invalid or not support. |
| E004 | ClientIP Is Invalid | The customer ip is invalid or not support. |
| E005 | Invalid Accept-Encoding | The encoding compression format is invalid. |
| E006 | Unauthorized vendor | The vendor is unauthorized. |
| E007 | Due to technical issues, the stream is currently unavailable | Due to technical issues, the stream is currently unavailable. |
| E008 | Invalid Operation | The operation is invalid. |
| E009 | Access Limit Reached | Too many failures in a short period of time to limit access. |
| B001 | Failed Execution | The system execution failed. |
| B002 | Customer Not Deposited | The customer has no deposited. |
| B003 | Duplicated Transaction Id | The transaction ID of vendor is duplicated |
| B004 | Invalidate Vendor Id | The vendor Id is invalidated. |
| B005 | Event closed or Invalid market ID | The Invalid market Id or event is been closed. Please refer to the following error message: SingleBet: Event Closed or Invalid Market ParlayBet: Market ID {id}: Event Closed or Invalid Market |
| B006 | E-Sport Status Changed | [E-Sport Only] Event Status change between In-Play and Starting Soon. |
| B007 | Score Changed | The score has been changed. |
| B008 | Point Changed | The point has been changed. |
| B009 | Point Expired | The point is expired. |
| B010 | Odds Changed | The odds has been changed and return new offer. please reference PlaceBet,PlaceOutrightBet request parameters. "details": {
|
| B011 | Odds Suspend | The odds is changing now. |
| B012 | Odds Error | The odds is wrong. |
| B013 | Stake Problem | The stake is over maximum bet or under minimum bet. |
| B014 | Over Max Bet | The total bet for this event exceeds the maximum. |
| B015 | Price Closed | The price is closed and the market is temporarily closed. Please refer to the following error message: SingleBet: Market closed ParlayBet: Market ID {id}: Market closed |
| B016 | Market Closed | The market is closed. Please refer to the following error message: SingleBet: Market closed ParlayBet: Market ID {id}: Market closed |
| B017 | Insufficient balance | Insufficient customer balance. |
| B018 | Disabled Bet | The customer has some problems to bet. |
| B019 | Transaction Id Not Found | The system can not find the transaction Id. |
| B020 | SportType is Invalid | The sport type is invalid. |
| B021 | Under Parlay Count | The parlay game counts are under minimum count. |
| B022 | Lucky Parlay Error | Some problems in the lucky parlay. |
| B023 | Cashout Price Not Found | The price of cashout is not found. |
| B024 | Event Closed | The event is closed. |
| B025 | Cannot Cashout | The ticket cannot be cashout. |
| B026 | Selling Ticket Not Found | The cashout ticket not found. |
| B027 | Cashout Account Not Found | The customer can not cashout. |
| B028 | Customer Closed | The customer account is closed. |
| B029 | Parlay MaxBet Less Than MinBet | Combo has exceeded max payout,please bet on other combinations |
| B030 | Parlay No Combo Available | Exceed Max Payout. Please reduce some of your parlay tickets to complete the bet. |
| B031 | Parlay Exceeds MaxMarkets | Exceeds the parlay maximum (selection : 20). |
| B032 | Single Wallet Failed | The single wallet system execution failed. |
| B033 | Parlay Same Event | Parlay use same event. EX: Parlay Same Event ; MarketIds : xxxxxxxxxxx, xxxxxxxxxxx |
| B034 | Single Wallet Cannot Accept Worse Odds | Single wallet is incapable of accepting worse odds. |
| B035 | Disabled Parlay Event | The event can not parlay. |
| B036 | No Valid Parlay Combination | Parlay combination is non-valid. |
| B037 | Duplicated Bet | Cannot Place Duplicated Bet in short time. |
| B038 | Over Max Payout Per Event | The Payout for this event exceeds the maximum. |
| B039 | Parlay odds lower than min odds | Parlay odds lower than min odds, According to the use case (getParlayTicket or placeParlayBet)and return response. getParlayTicket: "details": { placeParlayBet : "details": {
|
| B040 | Parlay combo max payout over limit. | This parlay combination has reached the payout limit. "details":{
|
| B041 | Not Support Single Wallet | Not support single wallet. |
| B042 | Customer Not Found | Customer Not Found. |
| B043 | Parlay Match Info Is Invalid | Parlay match info is invalid. |
| UM99 | System is under maintenance | System is under maintenance. |