We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

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

Regards,
PaulSylo

To be is to do. To do is to be.

Paulsylo
Tera Sage

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

Regards,
PaulSylo

To be is to do. To do is to be.

Ankur Bawiskar
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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader