rizi_456 | Posts: 2

The specified user cannot be found

1 votes

Hi

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=" }


Duo_Liang | Posts: 3776

Reply to: The specified user cannot be found

0 votes

Hi 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 


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off