Transaction record concerned to api call that received 504 gateway error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 04:19 AM
Hi All,
We have an integration with third party system which consumes our Scripted Rest API and updates some records in SNOW.
Sometimes they complain that they are receiving 504 , Gate way Timeout error and some times 202 status code.
I don't see any transaction record (syslog_transaction) created for these REST calls.
Could you please help me to understand whether transaction records will be created in these scenarios or not?
Regards
Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 04:53 AM
Do you have logging in your scripted rest API?
If the processing does take a long time (504 and 202 seem to be pointing into that direction), it may be good to handle the processing asynchronously.
But start with the logging, so you have a clue on where to start with troubleshooting.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 04:57 AM
Hi Mark,
Thanks for your response. Logs to be enabled.
But my question was more on finding the transaction record (syslog_transaction) record . When 504 Gateway timeout received , do we see these transaction log record or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 07:31 AM
@Mark Manders is it like, you are saying, to record that API call which resulted in 504 for other application in transaction log table , certain logging to be enabled in system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 07:40 AM
@madhuv : Please go through the transcations records , (all transactions) by default it will load all created on today, further you can filter created by if you have seperate integration user, it will show URL for api as well