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.

Payload length exceeded limit.

Vic Albergaria
Tera Contributor

Hello!

I run a probe in the background that fetches files from my midserver and sends them to a data source in servicenow. The probe works fine with small files, but gives the following error when the file is too large:

find_real_file.png

I already tried to consult this KB, but I don't have the discovery options or this probe in my instance: https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0854142

I also tried to create this property, mid.discovery.max_pattern_payload_size and set the value to -1, it still doesn't work.

 

How do I disable the 5000000 limit? Any ideias?

5 REPLIES 5

Logan Poynter
Mega Sage

Hello name,

In the KB you referenced, along with this community post, the sys_property seems to be mid.discovery.max_payload_size with a value of -1. Can you link to where you found max_pattern_payload_size


Please mark my answer as correct/helpful if it has helped you.

Thanks,
Logan

Hi Logan,

 

About your question, I don't remember exactly where I found the property mid.discovery.max_pattern_payload_size.

 

I already tried to create this property mid.discovery.max_payload_size, and it didn't work.

find_real_file.png

 

Any ideas?

Does the behavior change using a value other than -1 perhaps?

Gunjan Kiratkar
Kilo Patron
Kilo Patron

Hi @Albergaria ,

 

You can check the below ServiceNow KB article on it.

Payload length XXXXXXX exceeded limit of 5000000

 

Please mark my answer as helpful/correct if it resolves your query.

 

Regards,

Gunjan Kiratkar

Consultant - ServiceNow, Cloudaction

Rising Star 2022

 


Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy