Skip to main content
Solved

Tracing Projection calls with odata-debug=json not working for integration users


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)

Hi All,

 

We are trying to collect debug information for integrations and added trace messages using Log_SYS.Fnd_Trace_

 

However, ifs-trace node only appears like below when mentioning the ?odata-debug=json in the projection call which is authenticated with client credentials

 

If the same call is made with an end user, then the ifs-trace contains the trace information

My question is, how can we enable trace for integrations? Is there any projection which needs to be granted or is there any other way?

 

/Damith

Best answer by Trewon

Hi @dsj 

Please make sure that the ‘SQL_TRACE’ system parameter is on and the ‘DEBUGGER’ System privilege is granted for the service account you are using.

/Trewon 

View original

Forum|alt.badge.img+6
  • Hero (Employee)
  • August 29, 2023

Hi @dsj 

Please make sure that the ‘SQL_TRACE’ system parameter is on and the ‘DEBUGGER’ System privilege is granted for the service account you are using.

/Trewon 


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • August 29, 2023

Thanks @Trewon. That’s exactly what I was looking for.

It was enough to add the DEBUGGER system privilege. SQL trace was not needed to get the trace.

 

btw, if anyone is wondering how to read the IFS trace in postman, have a look in the postman visualizer script I’ve built ! 

https://github.com/damithsj/IFSCloud-Postman-Trace-Visualizer

 

Cheers!

Damith

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings