Usecase: There is one integration where we are retrieving object from oci object storage and getting a streamReference and from another integration we are calling this 1st integeation and receiving the stream reference and assigning back to attachment to Email notification and we are getting below error:
Error occured in fetching the attachment for Email
Solution :
In the called intnegration: use encodeReferenceToBase64() function to encode the stream reference to Base64 data
In the caller integration: use decodeBase64ToReference() function to decode it back to reference and use it to email attachment and it will work.
No comments:
Post a Comment