Xero API - Initialize Call

Hey team - would really really love some help on something I’ve been stuck on for 3 hours.

I’m trying to do the OAuth2 exchange the code call (link).

This is how I’ve set it up, and this is the error I’ve got. I have Base64 encoded by client id:client secret. The redirect_uri matches. I have gone through the Xero auth and got the “code” I think in the right way (see image)… I have no idea why I can’t get this to initalise… any help would be so appreciated.


image

Hi,

Try to uncheck the private checkbox in the api connector and try again.

Thank you @mani2726 - just tried this and unfortunately still getting the same error… any other thoughts?