pact-foundation / pact-stub-server

Standalone pact stub server
MIT License
75 stars 19 forks source link

main pact_stub_server: - Failed to load pact file: #49

Closed CharlyApps closed 2 years ago

CharlyApps commented 2 years ago

Hi, for some reason, last Monday I update from 1.88.77 to latest version, from that point I can't start the pact_stub_server it keeps throwing an error:

main pact_stub_server: - Failed to load pact file: Expected a "." or "[" instead of "'" in path expression "com-spf-token']" at index 13 - pacts/myPact.json

then I go back to 1.88.77 and somehow the error persist, try in older computers that haven't update to latest version and works like a charm, the pact data having the issue is this

"$.headers['company.com-spf-token']": { "match": "type" }