User Not Authorized while trying policyList in API
Options
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\":\"employee@youraccessibledomain.com\" } }"'
I'm getting:
{"responseMessage":"Not authorized to authenticate as user employee@youraccessibledomain.com","responseCode":401}
What am I doing wrong?
Answers
-
Cortney Ofstad Expensify Success Coach - Admin, Expensify Team, Expensify Student Ambassador Posts: 173 Expensify TeamOptions
Hi @YuvalPapaya!
For this error, could you reach out to concierge@expensify.com? We will need to review the permission settings for your specific account and authenticating/creating employees within Expensify.
Thanks!