Getting 400 error while uploading attachment of more than 50 MB in Knowledge Article using REST API

RITIKESHG
Giga Contributor

We are trying to upload attachment of more than 50 MB in knowledge article using REST API but getting 400 error. 

3 REPLIES 3

PaulSylo
Tera Sage
Tera Sage

Have you tried replicating this using Postman or any 3rd party tool ?

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !

PaulSylo
Tera Sage
Tera Sage

Hi @RITIKESHG  - Check this property is more than 50 MB - com.glide.cs.upload.attachment.max_size

Regards,
PaulSylo

Kindly mark "helpful", if this helps, or Mark as "Accepted " if it solves your issues !

Ankur Bawiskar
Tera Patron
Tera Patron

@RITIKESHG 

are you able to manually upload that 50MB file to article from UI?

may be REST API has some restrictions

check this

Controlling maximum request size 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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