ODATA V2 trace and error log and tcode
For Beginners: How to use Gateway Client? | SAP Blogs
https://blogs.sap.com/2020/08/07/sap-gateway-tracing-and-error-checking/
SAP Gateway Tracing and Error Checking
There may come a point you’ll need visibility to the Gateway Server as you progress with your Bot development. For example, while you could be getting one response through Postman, your bot could receive a different response which may require further analysis. There are two helpful transaction codes to help you investigate why that might be the case: /n/iwfnd/traces and /n/iwfnd/error_log.