# Https://api.athom.com/oauth2/token failed, reason: read ECONNRESET

**URL:** <https://community.homey.app/t/https-api-athom-com-oauth2-token-failed-reason-read-econnreset/81123>\
**Category:** Developers\
**Tags:** homey-pro\
**Created:** [May 25, 2023, 9:43am UTC](https://community.homey.app/t/https-api-athom-com-oauth2-token-failed-reason-read-econnreset/81123 "2023-05-25T09:43:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jan-Ivar\_Boyum](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan-ivar_boyum/32/29997_2.png) [@Jan-Ivar\_Boyum](https://community.homey.app/u/Jan-Ivar_Boyum)\
**Post date:** [May 25, 2023, 9:43am UTC](https://community.homey.app/t/https-api-athom-com-oauth2-token-failed-reason-read-econnreset/81123/1 "2023-05-25T09:43:01Z")

</div>

Is there anyone who can help me. When I try to log in to my Homey Pro in NodeJS everything looks normal, but when I enter NodeJS again I see the following error message: request to [https://api.athom.com/oauth2/token](https://api.athom.com/oauth2/token) failed, reason: read ECONNRESET. I had the same error last week, then I deleted and reinstalled the Homey SDK. This doesn’t help now. The screen in the web browser when logging in says that everything is fine, but the token that is returned seems to be rejected.
