Error codes

API Code Text
API_INTERNAL 1000 Internal error
API_INTERNAL 1001 WEAPI Init Failed
API_INTERNAL 1002 WEAPI Invalid Token
API_SETTLEMENT 110001 Game does not exist
API_SETTLEMENT 110002 Pool does does not exist
API_SETTLEMENT 110003 Pool is not active
API_CURRENCY 40001 from_currency is empty or null
API_CURRENCY 40002 to_currency is empty or null
API_CURRENCY 40003 from_currency and to_currency cannot be the same
API_CURRENCY 40004 Parameter rate has to be >= 1
API_OPERATOR 10001 Operator with that name exists
API_OPERATOR 10002 Operator record passed is null
API_OPERATOR 10003 operator_id is empry, null or <=0
API_OPERATOR 10004 Operator does not exist
API_POOL 50001 Pool record passed is null
API_POOL 50002 name is empty or null
API_POOL 50003 Operator with given ID does not exist
API_POOL 50004 pool with given ID does not exist
API_POOL 50005 pool_id is empty
API_POOL 50006 Bet contribution percent hast to be > 0 and < 100
API_POOL 50007 Currency does not exist
API_POOL 50008 Currency cannot be null
API_POOL 50009 Pool cannot be deleted bacause it has games created
API_POOL 50010 Pool cannot be updated bacause it already had games
API_POOL 50011 Operator with given ID does not allowed to have pools
API_FRONTEND 100000 Playerd id malformed
API_FRONTEND 100001 Playerd id null or empty
API_FRONTEND 100002 Operator id null or empty
API_FRONTEND 100003 Operator with given ID does not exist
API_FRONTEND 100004 Wrong operator ID passed for the player
API_FRONTEND 100005 Currency code null or empty
API_FRONTEND 100006 Currency with given code does not exist
API_FRONTEND 100007 Wrong currency passed for the player
API_FRONTEND 100008 Player session exipred
API_FRONTEND 100009 Player with passed ID does not exist
API_FRONTEND 100010 Place bet failed
API_FRONTEND 100011 Place bet failed due to internal error
API_FRONTEND 100012 Operator with given ID is not allowed to have players
API_FRONTEND 100013 Game with with passed ID does not exist
API_GAME 60001 Game record passed is null
API_GAME 60002 Pool with given ID does not exist
API_GAME 60003 pool_id is empty
API_GAME 60004 game_id is empty
API_GAME 60005 Name is empty or null
API_GAME 60006 Start date is not valid
API_GAME 60007 End date is not valid
API_GAME 60008 End date has to be bigger than start date
API_GAME 60009 Game with specified id does not exist
API_GAME 60010 Bet contribution percent hast to be > 0 and < 100
API_GAME 60011 Number of fixtures has to be 4
API_GAME 60012 Fixture does not exist
API_GAME 60013 Fixture does not exist
API_GAME 60014 Duplicate fixture id passed
API_GAME 60015 Operator with given ID does not exist
API_GAME 60016 The game is active and cannot be deleted. Deactivate the game first before deleting it
API_GAME 60017 The game has bets and cannot be deleted
API_GAME 60018 Game already resulted
API_GAME 60019 Inteenal Error
API_FIXTURE 30001 fixture_id is empty, null or <=0
API_FIXTURE 30002 Fixture record passed is null
API_FIXTURE 30003 competiion is null or empty
API_FIXTURE 30004 Home is null or empty
API_FIXTURE 30005 Away is null or empty
API_FIXTURE 30006 Kickoff is null, empty or invalid
API_FIXTURE 30007 Home team must be different than away team
API_FIXTURE 30008 is_active param is null or empty
API_FIXTURE 30009 is_finished param is null or empty
API_FIXTURE 30010 is_inplay param is null or empty
API_FIXTURE 30011 Properties param is null or empty
API_FIXTURE 30012 When deleting old fixtures days_old param has to be >=30
API_FIXTURE 30013 from_day, to_day and comeptition parameters cannot all be null. At least one parameter needs to be provided
API_FIXTURE 30014 Fixture does not exist
API_FIXTURE 30015 supplier_fixture_id is empty, null or <=0
API_FIXTURE 30016 goal_minutes_descriptive is empty
API_FIXTURE 30017 goal_minutes_descriptive is malformed t is probably missing a minute field
API_FIXTURE 30018 goal_minutes_descriptive contains spaces minute field
API_FIXTURE 30019 Internal error while setting final score and goal minutes
API_USER 20001 User with that username exists
API_USER 20002 User record passed is null
API_USER 20003 Username is empty or null
API_USER 20004 user_id is empty, null or <=0
API_USER 20005 operator_id is empty, null or <=0
API_USER 20006 Operator with provided operator_id does not exist
API_USER 20007 Email already in use
API_USER 20008 Username already in use
API_USER 20009 Password must be at least 6 characters long. Maximum 24 characters
API_USER 20010 Password is empty
API_USER 20011 Multiple matches for user
API_USER 20012 Login failed for provided credentials
API_USER 20013 Incorrect password
API_USER 20014 New password and repeated password are not the same
API_USER 20015 Unable to authenicate user
API_USER 20016 User does not exist
API_USER 20017 Email is empty or null
API_USER 20018 User with that emial does not exist
API_USER 20019 Email format is wrong
API_USER 20020 User is inactive
API_BET 80001 Stake must be bigger than 0
API_BET 80002 Session Iid passed is empty
API_BET 80003 Player id passed is empty
API_BET 80004 Game ID passed is empty or null
API_BET 80005 Player session does not exist
API_BET 80006 Player session expired
API_BET 80007 Player ID passed doesn't match with the player session
API_BET 80008 Operator id null or empty
API_BET 80009 Operator with given ID does not exist
API_BET 80010 Currency code null or empty
API_BET 80011 Currency with given code does not exist
API_BET 80012 Bet lines are not a valid array
API_BET 80013 Bet lines is out of range
API_BET 80014 Loading betting config failed
API_BET 80015 Bet lines is invalid
API_BET 80016 Player does does not exist
API_BET 80017 Player is not active
API_BET 80018 Game does does not exist
API_BET 80019 Game is not active
API_BET 80020 Game already resulted
API_BET 80021 Betting on the game has not started yet
API_BET 80022 Betting on the game has finished
API_BET 80023 One of the mactehs already kicked off
API_BET 80024 Pool does does not exist
API_BET 80025 Pool is not active
API_BET 80026 Pool is settled
API_BET 80027 Operator id is different for the player and for the pool
API_BET 80028 Operator does does not exist
API_BET 80029 Operator is not active
API_BET 80030 Bet contribution percent is invalid
API_BET 80031 Default stake in pool mainc currency stake is invalid
API_BET 80032 Stake passed doesn't match the stake defined in the pool
API_BET 80033 Player currency doesn't have a stake defined yet
API_BET 80034 Exchange rates cannot be loaded
API_BET 80035 Cannot load exchage rate for currencies
API_BET 80036 Invalid exchage rate for currencies
API_BET 80037 Duplicate lines in the bet
API_BET 80038 Stake per line passed has to be the same as the pools defined stake per line for the currency
API_BET 80039 Invalid bet contribution percent
API_BET 80040 Integration error. Cannot load operator integration config
API_BET 80041 Integration error. http_endpoint_not_defined
API_BET 80042 Integration error. Place bet http call failed
API_BET 80043 Integration error. Incorrect response received from endpoint
API_BET 80044 Maximum free bets exceeded
API_BET 80045 Maximum lines per bet