Skip to main content
The First Step
June 29, 2023
Question

Call API

Hi,

I would like to understand how to go past the below error.

I am using Postman to access Call log records.

{

"errorCode": "InsufficientPermissions",

"message": "In order to call this API endpoint, application needs to have [ReadAccounts] permission",

"errors": [

{

"errorCode": "CMN-401",

"message": "In order to call this API endpoint, application needs to have [ReadAccounts] permission",

"permissionName": "ReadAccounts"

}

],

"permissionName": "ReadAccounts"

}

I have managed to generate both an access token and refresh token in the JWT workflow.

However I can’t go past this message

For the header

I have used the below inputs

Authorization Bearer (Access token)

Accept application/json

I know I have set up the scope to include ReadCallLog Analytics as I receive in the refresh token

Insert Picture of scope

1688039873909.png

Please let me know the next steps

    2 replies

    PhongVu
    Community Manager
    Community Manager
    June 30, 2023

    Can you share the full API endpoint you call? Also the app client id.

    The First Step
    July 13, 2023

    thanks Phong, i figured out the answer it required a ~ sign to make it work