Forum Discussion
SpiroTaleski
5 years agoValued Contributor
Hi @deepak.shaw
Please ensure that the path you are referring ($payload.content) exist in the input of the Snap where you have the Base64.decode function.
Try to use validation of the pipelines, so you will be able to check/preview the output of every Snap.
Regards,
Spiro Taleski
deepak_shaw
5 years agoContributor
Thanks Spiro,
I’m getting below error:
Failure: Unable to decode base64 value, Reason: Bad Base64 input character decimal 123 in array position 0, Resolution: Make sure the argument is valid base64
Can you please suggest a fix?
- SpiroTaleski5 years agoValued Contributor
What did you try to put as an argument to the base64.decode function?
You should pass base64 encoded value(string) to the function.
Regards,
Spiro Taleski