Solved

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

  • 28 August 2023
  • 2 replies
  • 87 views

Userlevel 7
Badge +20
  • Superhero (Partner)
  • 671 replies

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

icon

Best answer by Trewon 29 August 2023, 05:44

View original

2 replies

Userlevel 2
Badge +6

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 

Userlevel 7
Badge +20

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