Salesforce OneSpan Errors
Friday, August 25, 2023 at 04:54amWe're receiving some errors in OneSpan when we're running our batch class in Salesforce. The vast majority of records are processed but we're left with a few K that do not run and we receive the errors in the debug logs shown below.
When going through the forum, I noticed a few people have server logs that show a more in-depth error message but I'm guessing since this is being run for Salesforce we cannot access those.
Is there a way to dive deeper into these errors to try and understand where exactly this is failing?
Reply to: Salesforce OneSpan Errors
Friday, August 25, 2023 at 08:39amHi Cameron,
Thanks for your post! Your screenshot seems broken, could you upload it as an attachment, or paste it in plain text?
Duo
Reply to: Salesforce OneSpan Errors
Friday, August 25, 2023 at 08:40amHey Duo,
This was the text from my screenshot:
Reply to: Salesforce OneSpan Errors
Friday, August 25, 2023 at 08:52amHi Cameron,
Okay, so this is for transaction creation.
-You mentioned that you are running batch class, is it your custom Apex class (with OSS Apex sdk)? Or it has something to do with OneSpan Sign Salesforce connector?
-Were you monitoring with the developer console? Can you find more detailed info like outbound JSON by choosing File > Open Raw Log?
-400 Bad Request error typically caused by wrong request format (multipart/form-data). Something came on top of my head that if you are using Apex sdk, I saw similar issues if you were uploading Word file and if you were using sdk.createDocuments() method.
Duo