The specified user cannot be found
Saturday, March 21, 2020 at 05:49pmHi
I am new to OneSpan and trying to going through following blog
https://www.onespan.com/blog/onespan-sign-how-making-rest-calls-onespan-signs-api-python
But i am getting following response
{"code":404,"messageKey":"error.notFound.userNotFound","technical":"Could not find user with uid 'Mrx4UBnpkHc4'","message":"The specified user cannot be found.","name":"Resource Not Found"}
However when i use interactive API tool at following link
https://community.onespan.com/products/onespan-sign/sandbox?origin=docsesignlive#/
and submit the following request
curl -X POST "https://sandbox.esignlive.com/api/packages" -H "accept: application/json" -H "Authorization: Basic my_api_key" -H "Content-Type: application/json" -d {"name":"YourTransaction"}I am able to receive a response
{ "id": "aBQT0cuFKsGjK2j6_LSUYZRmpA0=" }
Reply to: The specified user cannot be found
Sunday, March 22, 2020 at 07:05amHi rizi_456,
Welcome to OneSpan Sign!
Normally this 404 "error.notFound.userNotFound" indicates that the API Key holder is not in the current environment (https://sandbox.esignlive.com). So could you double-check whether the API key you are using in the Python code is the same as you used in the Swagger API page?
Duo
Duo Liang OneSpan Evangelism and Partner Integrations Developer