I have created a TOKEN_NAME as PG_REQ in bitbucket.
When I pass the token name in the header of my PLSQL API I get this error.
The token permissions are read only.
{"errors":[{"context":null,"message":"You are not permitted to access this resource","exceptionName":"com.atlassian.bitbucket.AuthorisationException"}]}
Should the header value pass a token name PG_REQ before invoking REST API. ?
My basic authentication work when I pass user name and password.
Thanks
Sukarna