{"action":"closed","issue":{"url":"https://api.github.com/repos/prebid/prebid-mobile-android/issues/60","repository_url":"https://api.github.com/repos/prebid/prebid-mobile-android","labels_url":"https://api.github.com/repos/prebid/prebid-mobile-android/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/prebid/prebid-mobile-android/issues/60/comments","events_url":"https://api.github.com/repos/prebid/prebid-mobile-android/issues/60/events","html_url":"https://github.com/prebid/prebid-mobile-android/issues/60","id":345798735,"node_id":"MDU6SXNzdWUzNDU3OTg3MzU=","number":60,"title":"Prebid Server Bad Request (Status Code 400)","user":{"login":"AndroidRio","id":5436014,"node_id":"MDQ6VXNlcjU0MzYwMTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5436014?v=4","gravatar_id":"","url":"https://api.github.com/users/AndroidRio","html_url":"https://github.com/AndroidRio","followers_url":"https://api.github.com/users/AndroidRio/followers","following_url":"https://api.github.com/users/AndroidRio/following{/other_user}","gists_url":"https://api.github.com/users/AndroidRio/gists{/gist_id}","starred_url":"https://api.github.com/users/AndroidRio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndroidRio/subscriptions","organizations_url":"https://api.github.com/users/AndroidRio/orgs","repos_url":"https://api.github.com/users/AndroidRio/repos","events_url":"https://api.github.com/users/AndroidRio/events{/privacy}","received_events_url":"https://api.github.com/users/AndroidRio/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-30T15:06:23Z","updated_at":"2018-10-18T15:02:31Z","closed_at":"2018-10-18T15:02:30Z","author_association":"NONE","body":"Hi,\r\n\r\nThanks for providing this awesome SDK. We are currently facing an issue with it where the server always returns two distinct error message. Before displaying the error message, here is my configuration:\r\n\r\nConfig with id 60b721f7-bf64-49aa-8a45-8ddc56278529:\r\n```\r\n[\r\n    {\r\n        \"code\": \"/73314699/OLX/Listing\",\r\n        \"bids\": [\r\n            {\r\n                \"bidder\": \"appnexus\",\r\n                \"params\": {\r\n                    \"placement_id\": 13359963\r\n                }\r\n            },\r\n            {\r\n                \"params\": {\r\n                    \"zoneId\": 556108,\r\n                    \"siteId\": 118014,\r\n                    \"accountId\": 14702\r\n                },\r\n                \"bidder\": \"rubicon\"\r\n            }\r\n        ],\r\n        \"sizes\": [\r\n            [\r\n                300,\r\n                250\r\n            ]\r\n        ]\r\n    }\r\n]\r\n```\r\nAnd this is the json object that the SDK is building:\r\n```\r\n{\r\n\t\"id\": \"989dbf01-3efd-4014-a327-6c42b4d1b4ff\",\r\n\t\"source\": {\r\n\t\t\"tid\": \"989dbf01-3efd-4014-a327-6c42b4d1b4ff\"\r\n\t},\r\n\t\"imp\": [\r\n\t\t{\r\n\t\t\t\"id\": \"\\/73314699\\/OLX\\/Listing\",\r\n\t\t\t\"secure\": 1,\r\n\t\t\t\"ext\": {\r\n\t\t\t\t\"prebid\": {\r\n\t\t\t\t\t\"storedrequest\": {\r\n\t\t\t\t\t\t\"id\": \"60b721f7-bf64-49aa-8a45-8ddc56278529\"\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\"banner\": {\r\n\t\t\t\t\"format\": [\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\t\"w\": 300,\r\n\t\t\t\t\t\t\"h\": 250\r\n\t\t\t\t\t}\r\n\t\t\t\t]\r\n\t\t\t}\r\n\t\t}\r\n\t],\r\n\t\"device\": {\r\n\t\t\"make\": \"samsung\",\r\n\t\t\"model\": \"SM-G955F\",\r\n\t\t\"ua\": \"Mozilla\\/5.0 (Linux; Android 7.0; SM-G955F Build\\/NRD90M; wv) AppleWebKit\\/537.36 (KHTML, like Gecko) Version\\/4.0 Chrome\\/67.0.3396.87 Mobile Safari\\/537.36\",\r\n\t\t\"w\": 411,\r\n\t\t\"h\": 773,\r\n\t\t\"pxratio\": 3.5,\r\n\t\t\"mccmnc\": \"724-39\",\r\n\t\t\"carrier\": \"Nextel\",\r\n\t\t\"connectiontype\": 1,\r\n\t\t\"lmt\": 0,\r\n\t\t\"ifa\": \"8e8dbd04-a28d-41cb-bb5b-26ff10626bdb\",\r\n\t\t\"os\": \"android\",\r\n\t\t\"osv\": \"24\",\r\n\t\t\"language\": \"en\"\r\n\t},\r\n\t\"app\": {\r\n\t\t\"bundle\": \"com.schibsted.bomnegocio.androidApp.beta\",\r\n\t\t\"ver\": \"11.6.0.0-beta\",\r\n\t\t\"name\": \"OLX\",\r\n\t\t\"privacypolicy\": 0,\r\n\t\t\"publisher\": {\r\n\t\t\t\"id\": \"d2542d26-9478-474c-9c4d-ac5de5453259\"\r\n\t\t},\r\n\t\t\"ext\": {\r\n\t\t\t\"prebid\": {\r\n\t\t\t\t\"source\": \"prebid-mobile\",\r\n\t\t\t\t\"version\": \"0.4\"\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\t\"user\": {\r\n\t\t\"gender\": \"O\"\r\n\t},\r\n\t\"regs\": {\r\n\t\t\"ext\": {}\r\n\t},\r\n\t\"ext\": {\r\n\t\t\"prebid\": {\r\n\t\t\t\"storedrequest\": {\r\n\t\t\t\t\"id\": \"d2542d26-9478-474c-9c4d-ac5de5453259\"\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n\r\nSometimes it is giving that the configuration is not found:\r\n![image](https://user-images.githubusercontent.com/5436014/43405681-c38b4084-93f0-11e8-8c0b-43aee4d1babb.png)\r\n\r\nAnd sometimes it is stating that the placement_id is with the incorrect type which isn't:\r\n![image](https://user-images.githubusercontent.com/5436014/43405712-d6b9e44e-93f0-11e8-97e5-55ed7730a08e.png)\r\n"}}
{"actor":{"display_login":"anwzhang"}}