Provider verification asked the broker for pacts to verify and got none back. The provider name, the consumer version selectors, or the tag/branch filter did not match any published pact, so verification passes vacuously or errors.
What this error means
Verification logs "No pacts found for provider X" or "0 interactions" and exits without verifying anything, often a green build that verified nothing.
Pact
INFO: Fetching pacts for orders-provider from https://acme.pactflow.io
WARN: No pacts found for provider "orders-provider" matching the given consumer version selectors
Diagnose it: produced, uploaded, or mapped?
Third-party integrations fail at one of three points, and the symptom is the same for all of them: the report was never produced, the upload was rejected, or the service could not map the paths back to your repository.
Terminal
ls -la <report-dir>/ && head -5 <report-file>
grep -c . <report-file> || echo "empty report"
# absolute paths in a report break server-side file mapping
grep -m3 -E "^(SF:|<file)" <report-file>
Common causes
The provider name does not match the published pact
The provider name in the verifier differs from the provider the consumer published against (a typo or a rename), so no pact matches.
Selectors or tags filter out every pact
The consumer version selectors, tag, or branch filter target a slice with no published pacts, so the broker returns an empty set.
How to fix it
Verify the provider name and selectors
Confirm the provider name matches exactly what the consumer published.
List published pacts for that provider in the broker UI or API.
Loosen or correct the consumer version selectors to include a real branch.
Fail the build when zero pacts are returned rather than passing silently.
Keep provider names identical between consumer publish and provider verify.
Use mainBranch and deployedOrReleased selectors so real pacts are found.
Frequently asked questions
What causes Pact "No pacts found for provider" in CI?
There are 2 common causes: the provider name does not match the published pact and selectors or tags filter out every pact. The provider name in the verifier differs from the provider the consumer published against (a typo or a rename), so no pact matches.
How do I fix Pact "No pacts found for provider" in CI?
There are 2 fixes depending on which cause you have: verify the provider name and selectors and confirm the consumer actually published. Work through them in order, since the first is the most common.
What does Pact "No pacts found for provider" in CI actually mean?
Verification logs "No pacts found for provider X" or "0 interactions" and exits without verifying anything, often a green build that verified nothing.
How do I stop Pact "No pacts found for provider" in CI happening again?
Fail the build when zero pacts are returned rather than passing silently. The prevention section lists 3 changes that keep it from recurring.