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

How to fix the error "No response for ECC message request with sysid=XXXX after waiting for 30 seconds in ECC Queue" ?

sardev
Kilo Contributor

I have created a workflow which makes an API call to external endpoint and use the response for further operations.

 

I created a REST Message item pointing to external endpoint and also configured the MID server in it.

When I try to test the API call, It has intermittent behaviour where it works as expected and in other cases it return the timeout error : "No response for ECC message request with sysid=XXXX after waiting for 30 seconds in ECC Queue". What can be possible cause for this intermittent behaviour ? 

I also observed that the ECC entry for this REST message has the correct response in the ECC queue but it still gives the timeout error.

I have tried using executeAsync, ecc-corelator value but none of them worked. 

I have a restriction that I cannot increase the glide server timeout so any help with this issue will be appreciated.

I have tested the external endpoint using postman and it never takes more than 2 secs to complete.

2 REPLIES 2

Sebastian L
Mega Sage

Sounds like you might have some traffic/unfinished jobs on your Mid Server


Best regards,
Sebastian Laursen