Roy Collings
03/27/2023, 11:49 AMdocker run --rm \
-w ${PWD} \
-v ${PWD}:${PWD} \
-e PACT_BROKER_BASE_URL=$PACT_BROKER_BASE_URL \
-e PACT_BROKER_TOKEN=$PACT_BROKER_TOKEN \
pactfoundation/pact-cli:latest \
pactflow publish-provider-contract \
oas/openapi.yaml \
--provider my-provider \
--provider-app-version 1.0.0 \
--branch my-branch \
--content-type application/json \
--verification-exit-code=0 \
--verification-results result/report.md \
--verification-results-content-type application/yaml \
--verifier "github-actions"
...but I'm constantly getting
Error making request to <https://okta-poc.pactflow.io//contracts/provider/pact-demo-api1/version/1.0.0> status=404 {"error":"The requested document was not found on this server."}
As far as I can see I've set everything up correctly (those variables are correct and the oas / results files are at those paths). I'm a bit stumped, any ideas?Matt (pactflow.io / pact-js / pact-go)
Roy Collings
03/27/2023, 12:49 PMMatt (pactflow.io / pact-js / pact-go)
Timothy Jones
03/28/2023, 5:32 AMI wonder if we should detect that and strip it offYes please!
Matt (pactflow.io / pact-js / pact-go)