# Xero HTTP api request

**URL:** <https://community.n8n.io/t/xero-http-api-request/26966>\
**Category:** Questions\
**Tags:** xero\
**Created:** [June 8, 2023, 1:05pm UTC](https://community.n8n.io/t/xero-http-api-request/26966 "2023-06-08T13:05:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamie\_Madden](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jamie_madden/32/26081_2.png) [@Jamie\_Madden](https://community.n8n.io/u/Jamie_Madden)\
**Post date:** [June 8, 2023, 1:05pm UTC](https://community.n8n.io/t/xero-http-api-request/26966/1 "2023-06-08T13:05:54Z")

</div>

I’m trying to access the Xero API via HTTP API calls. I found several posts on how to get the authentication working and that is doing what I need it to. However, I’m getting 429 too many requests whenever I try and do any get requests such as searching for a contact.

 ![n8n_-_⚠️_Xero_Invoice_Upload](https://europe1.discourse-cdn.com/n8n/original/3X/f/4/f4ba64bd10d0ae64289cdd7bf731ac2148042d24.jpeg)

Has anyone else seen this?

---

<div class="post-metadata">

**Author:** ![EmeraldHerald](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/emeraldherald/32/35355_2.png) [@EmeraldHerald](https://community.n8n.io/u/EmeraldHerald)\
**Post date:** [June 8, 2023, 1:20pm UTC](https://community.n8n.io/t/xero-http-api-request/26966/2 "2023-06-08T13:20:07Z")

</div>

Hi @Jamie_Madden - welcome to the community 🎉

Taking a peek at [Xero’s api documentation](https://developer.xero.com/documentation/guides/oauth2/limits/), there’s a few things that it could be here. Are you by chance making more than 5 requests at once, or is your app uncertified? It looks like an uncertified app is quite limited, which might be what’s happening here if it’s rejecting any singular call to their API at all.

---

<div class="post-metadata">

**Author:** ![Jamie\_Madden](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jamie_madden/32/26081_2.png) [@Jamie\_Madden](https://community.n8n.io/u/Jamie_Madden)\
**Post date:** [June 8, 2023, 1:33pm UTC](https://community.n8n.io/t/xero-http-api-request/26966/3 "2023-06-08T13:33:11Z")

</div>

Hi @EmeraldHerald

Thanks for the quick reply. That’s the only calls I’m doing. Get the tenant ID and then do a contact search.

How do I check if my app is uncertified?

---

<div class="post-metadata">

**Author:** ![EmeraldHerald](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/emeraldherald/32/35355_2.png) [@EmeraldHerald](https://community.n8n.io/u/EmeraldHerald)\
**Post date:** [June 8, 2023, 1:43pm UTC](https://community.n8n.io/t/xero-http-api-request/26966/4 "2023-06-08T13:43:51Z")

</div>

Hi @Jamie_Madden - I’ve never used Xero so I’m not too sure, but it looks like the link to certify your app is here: [Steps to becoming an app partner — Xero Developer](https://developer.xero.com/partner/app-partner)

---

<div class="post-metadata">

**Author:** ![Jamie\_Madden](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jamie_madden/32/26081_2.png) [@Jamie\_Madden](https://community.n8n.io/u/Jamie_Madden)\
**Post date:** [June 8, 2023, 1:53pm UTC](https://community.n8n.io/t/xero-http-api-request/26966/5 "2023-06-08T13:53:28Z")

</div>

Hi @EmeraldHerald

I’ve checked the activity logs in Xero and I do appear to be hitting the API limits somehow, even though it’s just a simple contact search.

I will contact Xero support.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [June 15, 2023, 1:53pm UTC](https://community.n8n.io/t/xero-http-api-request/26966/6 "2023-06-15T13:53:50Z")

</div>

Closed on June 15, 2023, 1:53pm UTC

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