Quinn
06/20/2022, 7:51 PM.willRespondWith({
status: 400,
headers: {
"Content-Type": "application/problem+json",
},
body: {
title: "Bad Request",
detail: regex(
/.*invalid character.*/,
'File name *:|.<>+"...jpg contains invalid character(s)'
),
},
})
However, when I look on the pact broker server, it looks like this:
[redacted] will respond with:
{
"status": 400,
"headers": {
"Content-Type": "application/problem+json"
},
"body": {
"detail": "File name *:|.<>+\"...jpg contains invalid character(s)",
"title": "Bad Request"
}
}
is there a reason these don't match? Are they supposed to not match? This is throwing an error in my pipeline preventing me from pushing any changes to my production environment.Timothy Jones
06/20/2022, 11:18 PMTimothy Jones
06/20/2022, 11:18 PM