cancel
Showing results for 
Search instead for 
Did you mean: 

XS Engine error decoding base64 content

01-15-2024 4:28 AM
jlamaya Newcomer
465 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

Dear experts,

I am working in an XS Engine project and trying to encode to binary using the $util.codec.decodeBase64 library. I am using the base64 response provided by the SAP API Gateway, and I encounter this error: util.codec.decodeBase64: the given string parameter is not base64 encoded.

The response provided by the API rs/v1/ExportPDFData?DocCode has been validated in online parsers, and they accept it as base64. Would you have any suggestions on what might be causing this issue?

Best Regards

Jose

0 Likes

Accepted Solutions (0)

Answers (0)