Hello team, I am new to this Slack space, I hope ...
# pactflow
v
Hello team, I am new to this Slack space, I hope it is fine to ask. I am trying to record a deployment to PactFlow and I am getting this error:
Copy code
Error making request to <https://myorg.pactflow.io/pacticipants/my-service-name/versions/my-version-here/deployed-versions/environment/my-environmnet-here> status=403 Forbidden. Either you are using a read only token for a request that requires a write token (the most likely cause), or you do not have the required permissions.
I fear that the token that is being used does not have write rights. Does anyone where I can find documentation around how to create tokens for recording deployments for a given team in PactFlow? Thank you in advance!
m
That's exactly the problem. The token needs to be associated with a user or system account that has the correct rights. Usually that involves 1. Being assigned to a team 2. The team is associated with the environment and application you are trying to deploy 3. The user has the appropriate role (permissions) allowing them to do this
Make sure you understand this: https://docs.pactflow.io/docs/permissions/rbac
v
Thanks a lot @Matt (pactflow.io / pact-js / pact-go)
馃挭 1