Issue with bitbucket personal data reporting API


I am trying to use bitbucket’s personal data reporting API.

I have tried authorizing for both connect app and OAuth flow, but I am getting the following response.

    "tid": "236c2ab268a4105d",
    "code": 401,
    "type": "APIError",
    "message": "Unauthorized Issuer micros-group/bitbucket is not whitelisted "

Request Body:

"accounts": [{
    "accountId": "5fa023c1ecdae600682b"

Is there something I am missing?

When using the JWT token authorization,
I used app_key as the issuer