Can someone tell me the maximum size of the response. Setbody (body) method during the use of the rest API

ghc
Tera Contributor

Can someone tell me what is the maximum size of the body of the response.setbody (body) method during the use of the rest API

thx!

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi

you can find the answer on page https://docs.servicenow.com/bundle/tokyo-application-development/page/administer/flow-designer/refer...

"By default, the system limits the size of REST responses that are not saved as attachments to 5 MB. Direct REST responses that exceed this limit generate an error. To support larger response sizes, either save the response as an attachment or increase the response size limit with the glide.pf.rest.response_payload_max_size system property. This system property supports a maximum value of 10 MB."

Maik

View solution in original post

6 REPLIES 6

hi
how to increase more than 10 mb?

bclemen
Tera Contributor

REST response size limits

By default, the system limits the size of REST responses that are not saved as attachments to 5 MB. Direct REST responses that exceed this limit generate an error. To support larger response sizes, either save the response as an attachment or increase the response size limit with the glide.pf.rest.response_payload_max_size system property. This system property supports a maximum value of 1024, which limits the REST response to 10 MB in size.