Getting error when trying to use Assume-User functionality to fetch the data of all users.

Options
Reshma R
Reshma R
edited 04/25/24 in API & Developers

The Admin account is unable to fetch data for other users incase of the developer account. When we try to use the Assume-User functionality to fetch data by impersonating other users, with the help of an admin account and Oauth2 session, we get the following error.

{

  "errorCode": 1030,

 "message": "You are unable to assume the user specified.",

 "refId": "ynvxse"

}

1. Can you please confirm inorder to fetch the other user's data should we use "Oauth2" mechanism or "API Token" or both?

2. Currently we are using developer/trial account for analysis, since we are unable to create API Token could you please tell us if Assume-User functionality could be used in this case?