We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Timeout issue with inbound REST API

tesnimk
Tera Contributor

Hi All,

 

I am running into an issue where my API calls "/api/now/table/incident" are timing out.

As far as I understood , it could be an issue related to payload size and data volume 

 

My question here is what is the payload size limit to prevent such issue?

 

BR

8 REPLIES 8

Sheldon,

I am not the one having the issue. I was posting some suggestions to the OP. Please read their posting.

Hi @Sheldon  Swift ,

 

Thanks for your feedback and sorry for the reponse delay.

Actually, we are facing the issue  when calling the rest API  POST  "/api/now/table/incident" to create incidents.

First ,we have noticed that  the issue was only reproduced when calls is with a big size payload . That is why we thought about the payload size as a root cause of the timeout .

Then we have noticed cases where the issue was also reproduced with call with minimalist payload( include only mandatory field) with an error 

"{
"error": {
"message": "Exception while executing request: Transaction cancelled: maximum execution time exceeded",
"detail": "Transaction cancelled: maximum execution time exceeded Check logs for error trace or enable glide.rest.debug property to verify REST request processing"
},
"status": "failure"
}"

Could you advice please , any hints about this would be appreciated .

 

Regards,

Tesnim

Hi @Sheldon  Swift ,

 

Thanks for your feedback and sorry for the reponse delay.

Actually, we are facing the issue  when calling the rest API  POST  "/api/now/table/incident" to create incidents.

First ,we have noticed that  the issue was only reproduced when calls is with a big size payload . That is why we thought about the payload size as a root cause of the timeout .

Then we have noticed cases where the issue was also reproduced with call with minimalist payload( include only mandatory field) with an error 

"{
"error": {
"message": "Exception while executing request: Transaction cancelled: maximum execution time exceeded",
"detail": "Transaction cancelled: maximum execution time exceeded Check logs for error trace or enable glide.rest.debug property to verify REST request processing"
},
"status": "failure"
}"

Could you advice please , any hints about this would be appreciated .

 

Regards,

Tesnim

 

tesnimk
Tera Contributor

Hi @Sheldon  Swift ,

 

Thanks for your feedback and sorry for the reponse delay.

Actually, we are facing the issue  when calling the rest API  POST  "/api/now/table/incident" to create incidents.

First ,we have noticed that  the issue was only reproduced when calls is with a big size payload . That is why we thought about the payload size as a root cause of the timeout .

Then we have noticed cases where the issue was also reproduced with call with minimalist payload( include only mandatory field) with the attached error 

Could you advice please , any hints about this would be appreciated .

 

Regards,

Tesnim