[RESOLVED] 400 Invalid authorization code

This error is 99% of the time your side.

Add server side logging to your calls to confirm whats going on. Log all your outbound http requests?

So I don’t know.

The only time I’ve run into it is when my code was doing the exchange twice in error. (Usually because it did the exchange then I’ve hit F5 and it tried to exchange again).