Salesforce Event Notifications - "User cannot be found
Thursday, February 17, 2022 at 11:03amGood morning,
We have been implementing OneSpan APEX SDK and the event notification feature is working great in the sandbox. When we went to update our OneSpan prod account with our config / refresh token we get the following response:
{
"messageKey": "error.notFound.userNotFound",
"technical": "Could not find user with uid 'aXXXXXXXX'",
"message": "The specified user cannot be found.",
"code": 404,
"name": "Resource Not Found"
}
Do I need to have something enabled?
Peter
Reply to: Salesforce Event Notifications - "User cannot be found
Friday, February 18, 2022 at 06:14amHi Peter,
This error message came from the OneSpan Sign server which indicates that there might be a mismatch between the supplied API Key and API Url (OSS can't find the API Key holder "aXXXXX" in that environment). Could you double-check the connection settings if the API endpoint is correct (apps.esignlive.com vs apps.e-signlive.ca, etc) and if the API Key has been updated?
Duo
Reply to: Salesforce Event Notifications - "User cannot be found
Friday, February 18, 2022 at 06:56amHi Duo,
I tried again this morning. I am logged into the production account and am using the currently listed API key. The production account is under the https://apps.esignlive.com domain. I am posting to
https://apps.esignlive.com/api/callback/connectors/salesforceOauth2?Content-Type:=application/json&Accept:=application/json&Authorization:=Basic [I'm inserting the API key here]
Also, I should point out that the Apex SDK is successfully communicating with OneSpan..
I'm not sure what I am doing wrong. Any other thoughts?
Peter
Reply to: Salesforce Event Notifications - "User cannot be found
Friday, February 18, 2022 at 09:04amHi Peter,
Thanks for the clarification, I see what you mean now.
I would suggest to invoke a GET call and validate the API Key & URL combination first (If you are trying to update the refresh token, you should get a response with current settings).
If you still can't find the cause of issue, support team ([email protected]) can also help you set up the connector callback settings via BackOffice.
Duo
Reply to: Salesforce Event Notifications - "User cannot be found
Friday, February 18, 2022 at 09:26amThanks Duo. I tried the get call and got the same error. I sent an email to support.