sravanthi
06/01/2022, 10:15 AMHugo (Infracost)
06/01/2022, 10:16 AM--repo apato-platform
looks like it might be wrong. It seems that you’re missing the bitbucket workspace. e.g. workspace/apato-platform
--behavior
twicesravanthi
06/01/2022, 10:22 AMHugo (Infracost)
06/01/2022, 10:27 AM$BITBUCKET_TOKEN
correctly scoped? @sravanthi can you try this curl request to see if you get a successful response?
export BITBUCKET_REPO=xxx/xxx
export BITBUCKET_TOKEN=xx:xxx
curl \
-H 'Accept: application/json' \
-u $BITBUCKET_TOKEN \
<https://api.bitbucket.org/2.0/repositories/$BITBUCKET_REPO/commit/4709b78>