User Not Authorized while trying policyList in API

YuvalPapaya
Expensify Customer Posts: 2
My user is defined as Policy Admin.
This is the request i'm using:
curl --location --request POST 'https://integrations.expensify.com/Integration-Server/ExpensifyIntegrations' \ --form 'requestJobDescription="{ \"type\":\"get\", \"credentials\":{ \"partnerUserID\": \"aa_yuvalgi_papayaglobal_com\", \"partnerUserSecret\": \"-----------------\" }, \"inputSettings\":{ \"type\":\"policyList\", \"adminOnly\":true, \"userEmail\":\"[email protected]\" } }"'
I'm getting:
{"responseMessage":"Not authorized to authenticate as user [email protected]","responseCode":401}
What am I doing wrong?
Answers
-
Cortney Ofstad Expensify Success Coach - Admin, Expensify Team, Expensify Student Ambassador Posts: 174 Expensify Team
Hi @YuvalPapaya!
For this error, could you reach out to [email protected]? We will need to review the permission settings for your specific account and authenticating/creating employees within Expensify.
Thanks!