Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Rest API is throwing error when we send 4MB file in base64 format

Prathyusha G
Tera Contributor

Hi,

 

Rest API is throwing error when we send 4MB file in base64 format but it works when we send 1MB file.

Can I know what should be the reason and is there any size limit in Rest API for base64 file.

1 REPLY 1

Arpan Baishya
Kilo Sage

Hi @Prathyusha G,

 

What is the error you are getting? 

 

Also, you could take a look at this link. - Creating attachments using Web Services