Transaction record concerned to api call that received 504 gateway error

madhuv
Tera Contributor

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

6 REPLIES 6

Mark Manders
Mega Patron

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

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?

madhuv
Tera Contributor

@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?

Abhijit
Tera Expert

@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