# I tried to use the embedded Xero credentials, but get a message about hitting a connection limit.

**URL:** <https://community.cdata.com/t/i-tried-to-use-the-embedded-xero-credentials-but-get-a-message-about-hitting-a-connection-limit/152>\
**Category:** CData Drivers\
**Tags:** question, oauth, xero, credentials\
**Created:** [April 19, 2023, 3:49pm UTC](https://community.cdata.com/t/i-tried-to-use-the-embedded-xero-credentials-but-get-a-message-about-hitting-a-connection-limit/152 "2023-04-19T15:49:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zachary\_G](https://avatars.discourse-cdn.com/v4/letter/z/3be4f8/32.png) [@Zachary\_G](https://community.cdata.com/u/Zachary_G)\
**Post date:** [April 19, 2023, 3:49pm UTC](https://community.cdata.com/t/i-tried-to-use-the-embedded-xero-credentials-but-get-a-message-about-hitting-a-connection-limit/152/1 "2023-04-19T15:49:52Z")

</div>

I was using the one of the CData Xero drivers, and followed the instructions to set up the connection using the credentials embedded in the driver, however, when I tried to verify the connection the following error occured:

 ![20a1a06b-63b8-4d97-b417-144464d13e9e.png](https://us1.discourse-cdn.com/cdata/original/2X/a/abc90a4092db3f9973bd901aaed8f666f1f70d92.png)

How should I change the connection to fix this?

---

<div class="post-metadata">

**Author:** ![Zachary\_G](https://avatars.discourse-cdn.com/v4/letter/z/3be4f8/32.png) [@Zachary\_G](https://community.cdata.com/u/Zachary_G)\
**Post date:** [April 19, 2023, 3:59pm UTC](https://community.cdata.com/t/i-tried-to-use-the-embedded-xero-credentials-but-get-a-message-about-hitting-a-connection-limit/152/2 "2023-04-19T15:59:49Z")

</div>

Currently, the credentials embedded and used by default in the Xero drivers have hit a limit imposed by Xero. The CData team is working with Xero to increase this limit, but as that is a slow process, setting up your own OAuth credentials is an easy way to bypass the issue altogether.

To set up these credentials, use the below tutorial to set up your own OAuth Desktop Application or Custom Connection Application.

> **[CData ODBC Driver for Xero - Creating a Custom OAuth App](https://cdn.cdata.com/help/DXH/odbc/pg_connectingtoxerocustomappcreate.htm)**
>
> CData ODBC Driver for Xero - RSBXero - Creating a Custom OAuth App:

After setting up a custom OAuth application, the below tutorial goes over setting the needed driver properties to use the new connection.

> **[CData ODBC Driver for Xero - Custom Credentials](https://cdn.cdata.com/help/DXH/odbc/pg_connectingtoxerocustomapp.htm)**
>
> CData ODBC Driver for Xero - RSBXero - Custom Credentials:

Combining these tutorials will bypass the connection limit error, and allow use of the driver to its full extent.
