# pactflow-ama

Jean Paiva

06/14/2022, 2:31 AM
Hey I am very new to pact and sorry for just be dropping messages like this here but I’ve been trying to use: and while I do get to hit my endpoint and it seems like the expectations are actually running it seems like my provider is returning a body in a format different from what I am expecting, even though the content is what I intended… I am expecting a json on the contract response but it seems like I am getting the provider response with
on each time a quote appear. Is there a way to deal with a situation like this, maybe treat the response before comparing them? What I am expecting (example):
what I am getting:
Is this something I can fix with the pact-provider-verifier or I would need to fix with my provider?

Matt ( / pact-js / pact-go)

06/14/2022, 4:39 AM
hi Jean!
is it possible that the JSON payload is being escaped by Ruby in the code that is reading the response?
🤔 1
This question might be best asked in #pact-ruby so the Ruby community can contribute to the chat
👍 1

Jean Paiva

06/14/2022, 12:32 PM
Yep, will do! Thank you!