---
cases:
  - data:
    modules:
      - |
        package generated

        p = x {
          http.send({"bad_key": "bad_value", "method": "get", "url": "http://127.0.0.1:51113"}, x)
        }
    note: invalidkeyerror/invalid keys
    query: data.generated.p = x
    want_error: 'invalid request parameters(s): {"bad_key"}'
    want_error_code: eval_type_error
    strict_error: true
