> For the complete documentation index, see [llms.txt](https://docs.blueseasx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.blueseasx.com/server-bidding/server-integration/test-and-error-handling.md).

# Test & Error Handling

For simplifying the test and validation process, please set bidRequest.test=1, BlueSea will return test ads. Please note:

* The ads returned by this approach are only for testing purposes, they will not be used for settlement
* Please remove bidRequest.test=1 before your project is going live
* Refer to 8. Request Samples
* For iOS,  the imp.ext.skadn object is required

You can refer to this table and troubleshoot issues during testing

| **Scenario**                                               | **Code**                                                                                 |
| ---------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
| Parameters verification failed                             | A HTTP 400 is returned with a nbr parameter indicating a specific reason in the response |
| Parameters verification succeeded, but no ad win this time | A HTTP 204 is returned                                                                   |
| Ad fill                                                    | A HTTP 200 is returned with payloads                                                     |
| Others                                                     | A HTTP 4xx or HTTP 5xx is returned, please contact us                                    |

<table data-header-hidden data-search="false"><thead><tr><th></th><th></th></tr></thead><tbody><tr><td><strong>nbr code</strong></td><td><strong>Reason</strong></td></tr><tr><td>1</td><td>BlueSea has bidded for this impression </td></tr><tr><td>2</td><td>No bid for this impression. This means no advertisers buy this impression</td></tr><tr><td>2000</td><td>Failed to parse bidRequest due to invalid or truncated data format</td></tr><tr><td>2001</td><td>Failed to parse or bidrequest.ext.token or missing token</td></tr><tr><td>2003</td><td>Missing bidRequest.device object</td></tr><tr><td>2004</td><td>Missing bidRequest.app object</td></tr><tr><td>2005</td><td>Missing bidRequest.imp object</td></tr><tr><td>2100</td><td>The publisher’s status on BlueSea is paused</td></tr><tr><td>2101</td><td>Missing bidRequest.app.ext.bsxappid, or the bsxappid is not consistent with the appid passed during SDK initialization, or invalid data format, or the bsxappid isn’t registered on the BlueSea console</td></tr><tr><td>2102</td><td>bidRequest.app.bundle is not consistent with the bundle registered on the BlueSea console. For Android, bidRequest.app.bundle is app’s bundle id, while iOS is numeric appstore id</td></tr><tr><td>2103</td><td>The status of bsxappid is paused</td></tr><tr><td>2110</td><td>Missing or invalid bidRequest.imp.ext.bsxpid</td></tr><tr><td>2111</td><td>The status of bsxpid is paused</td></tr><tr><td>2105</td><td>The bidRequest.imp.ext.bsxadtype is not consistent with the bsxpid’s type registered on BlueSea console</td></tr><tr><td>2106</td><td>The bsxpid and bsxappid are not aligned</td></tr><tr><td>2107</td><td>The bsxpid auction type is not Server Bidding</td></tr><tr><td>2108</td><td><p>For Banner ad format, the bidRequest.imp.banner object is required</p><p>For Interstitial ad format, the bidRequest.imp.banner &#x26; bidRequest.imp.video objects are required</p><p>For rewarded ads, the bidRequest.imp.video object is required</p></td></tr><tr><td>2200</td><td>Missing bidRequest.device.ua</td></tr><tr><td>2201</td><td>Missing bidRequest.device.ip and bidRequest.device.ipv6 at the same time</td></tr><tr><td>2202</td><td>Failed to parse IP</td></tr><tr><td>2203</td><td>The country parsed from IP is not aligned with bidRequest.device.geo.country</td></tr><tr><td>2300</td><td>bidRequest.imp.ext.skadn.object is required for iOS</td></tr></tbody></table>
