Integration failing while pushing the data to other system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 09:03 AM
Hi,
I have implemented the REST integration with third party system.
ServiceNow is pushing the data into other system. It is Oauth type integration.
Steps for Integration:
1. I am getting the token first.
2. I am getting the data from service now tables. ex: 1500
3. Using counter I am sending the token and sending first 100 records.
4. counter will run 15 times with same token.
It is running daily at 3am
If the system runs daily after pushing 800 records it is failing.
Error: upstream request timeout with status code 504.
But when i ran manually it is working without errors.
can you please anyone help me on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2024 09:39 AM
Hi @Pavan_Snow_1 ,
The 504 Gateway Timeout error with the message "Upstream request timeout" occurs when a server acting as a gateway or proxy (like a load balancer or API gateway) fails to get a timely response from an upstream server, meaning the server it is trying to communicate with took too long to respond.
Put wait time after making call, also check what is the response time from third party.
Regards,
Runjay Patel