cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XS Engine error decoding base64 content

jlamaya
Newcomer
0 Likes
446

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

Accepted Solutions (0)

Answers (0)