You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pactflow prints the following error message, in case the response body doesn't match the expected response body:
Response body is incompatible with the response body schema in the spec file: should be object
For me it wasn't clear WHAT/which part of the response "should be (a) object".
After figuring out, that the response body was a JSON-String, instead of a JSON-Object, in the pact the following error message would have been more helpful for me:
"Response body is incompatible with the response body schema in the spec file: The response body should be a JSON object, but is as JSON string"
Pactflow prints the following error message, in case the response body doesn't match the expected response body:
For me it wasn't clear WHAT/which part of the response "should be (a) object".
After figuring out, that the response body was a JSON-String, instead of a JSON-Object, in the pact the following error message would have been more helpful for me:
For more details please have a look at this Pactflow slack thread.
The text was updated successfully, but these errors were encountered: