Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

api-partner.network.xero issues

Started by Alison Tipping -   in API Authentication

Hi there,

I suddenly started getting a weird error using pyxero when trying to connect a new club

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api-partner.network.xero.com', port=443): Max retries exceeded with url: /oauth/RequestToken (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f44599c5470>: Failed to establish a new connection: Errno -5 No address associated with hostname',))

Nothing in pyxero has been updated since 2018, so not sure where this is coming from. Also wasnt able to find anything about api-partner.network.xero.com.

Any help is greatly appreciated
Hi Alison,
The api-partner.xero.com url was retired a couple of years ago. The corresponding update to pyxero was made in this pull request and released in v0.9.0.

Are you using a private, public or partner app? What do you mean by "connect a new club"?

Kind regards,

Amy Martin (Xero Staff)