I had been dealing with this issue where the error message I was getting didn't make any ****en sense.
I thought for sure it was the right username coming through and all the table entries were correct in SAP.
We turned on all this tracing and there was nothing there. So I ended up going back to my dev VM and coding some real low level tracing. The service account was what I thought it was so was like WTF?
And after all that I thought I wonder if it were case sensitive. I asked the security team to convert it to upper case as a last roll of the dice and BAM!
Problem solved thank ****