I fully accept that I have an error in my code somewhere, but was wondering if anyone could help with common causes of
'The remote server returned an error: (400) Bad Request.'
I'm struggling because this only happens in a newer version of my code. It's probably a coincidence, but it only started to happen when I moved to using the non interactive login.
It's intermittent, usually after the code's been running for a few days, so I'm finding it hard to pin down. The above error is all I'm logging, but I imagine if I could catch it when running the code in Visual Studio I may have a better chance of finding root cause - in the mean time, if anyone has suffered this intermittently before it'd be good to know what fixed it!
'The remote server returned an error: (400) Bad Request.'
I'm struggling because this only happens in a newer version of my code. It's probably a coincidence, but it only started to happen when I moved to using the non interactive login.
It's intermittent, usually after the code's been running for a few days, so I'm finding it hard to pin down. The above error is all I'm logging, but I imagine if I could catch it when running the code in Visual Studio I may have a better chance of finding root cause - in the mean time, if anyone has suffered this intermittently before it'd be good to know what fixed it!

