--header "Content-Type: application/json" \
--header "developer-token: DEVELOPER_TOKEN" \
--header "Authorization: Bearer ACCESS_TOKEN"
I tried to get user details for TEST account ID -
815-430-6829 using the developer token of production manager account (different base email-Id as mentioned in step up page)980-013-4950 so I should successfully get the output as json file with user details instead I get a error message about Developer Token Prohibited Error and I am not able to under stand why I am getting it please anyone from google officials help ASAP as I need to solve this error which are basic requirement in automation of application.
Response error I received as json file :
{
"error": {
"status": "PERMISSION_DENIED",
"message": "The caller does not have permission",
"code": 403,
"details": [
{
"errors": [
{
"errorCode": {
"authorizationError": "DEVELOPER_TOKEN_PROHIBITED"
},
"message": "Developer token is not allowed with project '407408718192'."
}
],
"requestId": "cmjVn_ABtqyYJWIwznV5Zw"
}
]
}
}