Xero credential - fails to connect to Xero (error 500 Invalid_redirect_uri)

I have a Xero trial account using the ‘Demo Company’ organisation. I am using the n8n cloud (as of today March 19, 2025).

In n8n I set up the Xero credential using the instructions given here: Xero credentials | n8n Docs

When I try to Connect to Xero the connection fails with the following error:

The connection attempt appears to fail because of an invalid_redirect_uri, however, this uri is given in a read-only field when creating the connection. Does anyone have a suggestion as to how to get around this? I have been trying various experiments to solve this for 6 days. Any help will be most appreciated.

Tom

You have to set the redirect URL in Xero. The n8n field is expected to be read-only.

This is where you’d set the redirect URL:

Here’s how it would look post connection:

1 Like

Thank you. I had been trying to set up a custom connection as per the instructions given by n8n here

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.