Can you help here please:java.lang.AssertionError:...
# pactflow
s
Can you help here pleasejava.lang.AssertionError Failed to update the test results: Publishing verification results failed with an exception.Request failed with 403
m
Looks like your provider is not allowed (therefore 403) to publish the results to the broker. Have you added the token to the provider ?
☝️ 1
s
Yes
I have added
m
And you see that issue when verifying locally or in the pipeline?
You added the token as ?
Copy code
pactbroker:
   auth:
      token: {your token}
m
Please also note you need a read/write token with the appropriate permissions. A 403 suggests the wrong token has been supplied (i.e. you are authenticated but not authorised)
s
Oh, What I will do shall regenrate my PID token then it will work?
m
You need a read/write token with the appropriate permissions. Regenerating a token that had insufficient privileges won’t help
s
But Here i have all the permission to perform contract testing
m
What permissions does it have?
s
All this permissions
m
Did you grab the read-write token? If you can set the log level to DEBUG and share here that would help (please redact any credentials/sensitive info)
s
m
No, I need the debug level logs that shows the request/responses to PactFlow
s
Ok got it
👍 1