Convert large file into base64 in scope application

RameshwarK
Tera Contributor

Hello,

I am facing issue in rest API, where i need to send request record details with attachment to 3rd party. Attachment needs to send in base64 format. I am able to send attachment if file size less then 5 MB, but if file size is greater the 5 MB payload send empty key. I can't use GlideStringUtil() as this rest API is in scope application. How we can send large file in base64 format in scope application?

 

Appreciate your help!!!!

 

Thanks

11 REPLIES 11

@RameshwarK 

you are sending URL to external system and what they are doing with that?

are they able to download that large file then?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thank you, Ankur !