-1

I am trying to create an API call to Xero following this guide here

enter image description here

As far as I understand I need to pass in a base64encoded string version of my clientID and ClientSecret. This is how my power automate Http request looks like

enter image description here

But when I test it. I get an {"error":"invalid_request"}

I'm expecting to get a success response and get the access_token.

Thank you for your help :)

  • Are you sure you actually base64encoded your client_id and client_secret? You need to do that before passing the string into the Authorization header. – Adam DS May 26 '23 at 13:41
  • @AdamDS Thank you for your reply. What I did was go to this site [link](https://www.base64encode.org/) I then converted the clientId and ClientSecret there before I sent it to the Authorization header. – JanBanJuveh May 27 '23 at 14:46

1 Answers1

0

Sorry my bad this was a case of carelessness on my part. I had to include the semicolon during the conversion to base64 string