We have compiled a list of questions useful to you during the developement process. I have just made a Request and received the following error message 'Application metadata not configured correctly'. What does this mean? If you see the Application metadata not configured correctly error, please report it to your business manager as we will need to make some configuration changes to your account. I received the following error message ‘Gateway policy error’. What does this mean? A common reason for this error message is that you are using POST as your submission method in your Request when it should be GET, or vice versa. I have just made a Request and received the following error message 'Exceeded limits'. What does this mean? This error may be caused by one of the following: your quota or limits being exceeded. To stop getting back this error message, you need to change your product's development plan by creating a support ticket. make sure you are making requests to our APIs in a sensible fashion and in accordance with our guidelines and documentation. If you still get that error message, create a support ticket for it. Do the APIs support HTTP access control (CORS)? Yes, they do. Access-Control-Allow-Method, Access-Control-Allow-Headers and Access-Control-Allow-Origin headers are returned in response to an HTTP OPTIONS method request. For more information see this reference. Where is the API Explorer? On the new Developer WH Labs website we do not currently support an API Explorer. Check the What's New section on our Home page for any updates on this one. Can I use my Production API keys in Sandbox and vice versa? No, you cannot. You will need two separate keys for Production (live) and Sandbox. Is the Sandbox environment a copy of the Production (live) environment? No, Sandbox is not a copy of our Production (live) environment. Sandbox is a custom test environment, based on the same event hierarchy as Production. Can I use Production IDs in Sandbox? No , you cannot and should not. The IDs are different – even if an entity (for example: customer, event) is replicated in Production (live) – it will have a different ID. Are events the same in live environment and sandbox environment? No, the events in the sandbox environment have different ids than the ones in the live environment. Therefore, some methods that manupulate event data might not work in sandbox while you are testing you application. To replicate live data, log us a ticket via the ticketing system on the website which is available after you log in. I received the following error message "Unsupported Protocol for service". What does this mean? This is happening because you're using HTTP when HTTPS is required – or vice versa. I received the following error message "Missing request parameter" when trying to obtain a TGT. What does this mean? This error is returned when the request you are sending is not formed properly - namely credentials are sent as part of the request URL (instead of sending the credentials in the body data).We do not recommend you do this as it makes credentials visible, particularly in an AJAX request. Often query URLs are stored in plain text logs, whereas body data is not. The correct way is to send the credentials as body data. If you try this solution and it does not work, please log a ticket to our Business Support team. How to place a bet with a handicap market? If you need to place a handicap market you’ll need a suitable sport. In the Sandbox environment, we have in our pre-set events list American football and baseball usually. These have a handicap market. In this market you can see the handicap value. To submit a bet on the home selection the bet would look like this….. <whoBets> <bet> <betNum>1</betNum> <betTypeCode>SGL</betTypeCode> <stake>0.07</stake> <leg> <legType>W</legType> <part> <handicap>1.5</handicap> <outcomeId>34693922</outcomeId> <status>active</status> <priceType>L</priceType> <priceNum>1</priceNum> <priceDen>1</priceDen> <includeInMultiple>false</includeInMultiple> </part> </leg> </bet> </whoBets> Note the value in the <handicap> field. If this is correct the bet will be correctly placed as well: <whoBets> <betPlaced> <betId>145997</betId> <betReceipt>O/0049439/0032253/F</betReceipt> <placedDateTime/> <numLines>1</numLines> <totalStake>0.07</totalStake> </betPlaced> </whoBets> This assumes that there is no bet delay; if there is a bet delay the bet will need placing again with the bet delay token. How do I get the latest handicap if it has changed? If the handicap has changed (for example to 1.4) and you submit the bet then you’ll get an error like this: <whoBets> <whoFaults> <fault> <faultCode>23025</faultCode> <faultString>Handicap has changed</faultString> <solution> <betNum>1</betNum> <eventId>2065303</eventId> <handicap>1.4</handicap> <handicapPrecision>1</handicapPrecision> <outcomeHandicap>1.4</outcomeHandicap> <priceDen>1</priceDen> <priceNum>1</priceNum> <outcomeId>34693922</outcomeId> </solution> </fault> </whoFaults> <bet> <betNum>1</betNum> <stake>0.07</stake> <betTypeCode>SGL</betTypeCode> <leg> <legType>W</legType> <legSort /> <part> <ewAvailable>false</ewAvailable> <handicap>1.5</handicap> <includeInMultiple>false</includeInMultiple> <priceChanged>false</priceChanged> <priceDen>1</priceDen> <priceNum>1</priceNum> <priceType>L</priceType> <outcomeId>34693922</outcomeId> <singleAvailable>true</singleAvailable> <spAvailable>false</spAvailable> <status>active</status> <statusChanged>false</statusChanged> </part> </leg> </bet> </whoBets> The error will indicate that the handicap has changed, and in the <solution> you will see the new value of the handicap. Change this in your bet and resubmit and the bet should place. Omitting the handicap completely also works - this would place at current handicap.