Xero Custom API Request Auth Failure

I am attempting create a custom API request to Xero using "Xero Custom API Request". The standard Xero API requests work fine with the same connection.
I am wondering if it has to do with the fact that there is no way to specify the Organization ID in the Custom API Request. All the others require this selection. I attempted to add the Organization as a parameter, but that did not work.

1720908129841.png
 
P

Pabblymember11

Guest
Hey @kevin.boulware

In your custom API request, you need to pass the `xero-tenant-id` for the organization in your header to ensure the authentication works correctly.

I have corrected it, and now the action step is successfully retrieving the account in the response.
 

amnaahmed

Member
Hey @kevin.boulware

In your custom API request, you need to pass the `xero-tenant-id` for the organization in your header to ensure the authentication works correctly.

I have corrected it, and now the action step is successfully retrieving the account in the response.
i am also facing same issue, How to get tenat id from xero and should i include it in headers
 
P

Pabblymember11

Guest
i am also facing same issue, How to get tenat id from xero and should i include it in headers
Please review the Xero API reference and ensure to include the tenant ID in the header field.

 
Top