Hi! Some of my pacts are presented with the follow...
# pact-broker
s
Hi! Some of my pacts are presented with the following message:
Note: this contract could not be parsed to a v1 or v2 Pact, showing raw content instead.
However, the pact specification version registered at the bottom of the pact JSON is 2.0.0 (See screenshot). The pacts are generated by
pact-python
version 0.21 and I'm using OSS broker version 2.89. Any idea why this is happening?
m
It might be the rest of it is malformed. Anything obvious standing out between the working ones and failing ones?
s
@Matt (pactflow.io / pact-js / pact-go) Maybe regex matchers? 🤔 Where can I see how they should look like in v2?
m
If you had a sample contract that is working and one that isn’t, we could take a look and see if anything stands out