Hi I am testing SmartSheet Api for my new application. I was trying to use assume user function. I have a System Admin account say admin@xxxx.com and a non-admin account user@xxxx.com. I am getting errorCode 1030
Note : I currently have the trial plan.
I am passing the following header
{'Authorization': 'Bearer {admin's token}',
'Content-Type': 'application/json',
'Assume-User': 'user%40xxxx.com'}
I generated this token using OAUTH using the admins account and I requested following scopes
ACCESS_REQUEST = [
"ADMIN_SHEETS",
"ADMIN_SIGHTS",
"ADMIN_USERS",
"READ_USERS",
"ADMIN_WEBHOOKS",
"READ_SHEETS",
"READ_SIGHTS",
"ADMIN_WORKSPACES",
"READ_CONTACTS"
]
I am trying to hit the users/me
endpoint. I am getting the following error.
{'errorCode': 1030,
'message': 'You are unable to assume the user specified.',
'refId': 'h4tq8b'}