am Incident API returns 429 but still creates incident

Hemagiri B
Tera Expert

Hi Team,

Need your help. We have a REST outbound integration. When peoples are trying to create an incident with API call API returns 429 but still creates incident. Can you please let me know what could be the reason and how can I find that, it happened only twice (needs know what happened at that time), after that API behaves normally.

 

Thanks,

B Hemagiri.

1 ACCEPTED SOLUTION

@Hemagiri B Please go through the below link, here it explains logging the inbound API calls.

 

https://www.servicenow.com/community/developer-articles/how-to-capture-the-inbound-rest-logs-and-the...

 

Note: "Outbound HTTP Logs [sys_outbound_http_log]" - This table captures the calls from ServiceNow to other system

 

Please mark as correct answer if this solves your issue.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

View solution in original post

7 REPLIES 7

jaheerhattiwale
Mega Sage
Mega Sage

@Hemagiri B 429 error is for too many requests.

 

Try to empty the system cache as temporary fix.

 

Later you can update the API to get many incident details in one request and create bulk incidents with one API call only.

 

Please mark as correct answer if this has helped you

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

Hi Jaheer,

Thanks for your reply. Now it's working fine no issues at the moment. But wanted to know what was happened exactly at that time. So wanted to know where exactly i can check for that.

 

Thanks,

B Hemagiri.

@Hemagiri B You can check in the logs in the table: "Outbound HTTP Logs [sys_outbound_http_log]". This is for outbound requests made.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

Not able to find anything in logs when trying to search with code(429)

HemagiriB_0-1670336070461.png