github.com/prebid/prebid-server/v2@v2.18.0/adapters/epom/epomtest/supplemental/bad-response-bad-request-error.json (about)

     1  {
     2    "mockBidRequest": {
     3      "id": "test-request-id",
     4      "app": {
     5        "bundle": "com.prebid"
     6      },
     7      "device": {
     8        "ip":"238.89.104.156"
     9      },
    10      "imp": [
    11        {
    12          "id": "test-imp-id",
    13          "banner": {
    14            "format": [
    15              {
    16                "w": 300,
    17                "h": 50
    18              }
    19            ]
    20          }
    21        }
    22      ]
    23    },
    24    "httpCalls": [
    25      {
    26        "expectedRequest": {
    27          "uri": "https://an.epom.com/ortb",
    28          "headers": {
    29            "Accept": [
    30              "application/json"
    31            ],
    32            "Content-Type": [
    33              "application/json;charset=utf-8"
    34            ]
    35          },
    36          "body": {
    37            "id": "test-request-id",
    38            "app": {
    39              "bundle": "com.prebid"
    40            },
    41            "device": {
    42              "ip":"238.89.104.156"
    43            },
    44            "imp": [
    45              {
    46                "id": "test-imp-id",
    47                "banner": {
    48                  "format": [
    49                    {
    50                      "w": 300,
    51                      "h": 50
    52                    }
    53                  ]
    54                }
    55              }
    56            ]
    57          },
    58          "impIDs":["test-imp-id"]
    59        },
    60        "mockResponse": {
    61          "status": 400,
    62          "body": {
    63          }
    64        }
    65      }
    66    ],
    67    "expectedMakeBidsErrors": [
    68      {
    69        "value": "Unexpected status code: 400. Bad request to dsp",
    70        "comparison": "literal"
    71      }
    72    ]
    73  }