Skip to content

Refresh Token invalid and can't regenerate new one #1715

@SlasherKG

Description

@SlasherKG

Is there an existing issue for this?

  • I have searched the existing issues

Describe The Bug

I have searched and know this is typically due to either a firewall/vpn issue or that Ring has banned my IP temporarily.
This first happened last Tuesday, then I was able to regenerate the token and it worked for about another 24 hours.
After that, I have not been able to connect or regenerate again even with the cli method.
When using the plugin config regenerate option, it throws a "Ring Login Failed
Cannot use 'in' operator to search for 'error' in 406 Not Acceptable" error.
I included the homebridge logs below.

I suppose it could be they banned me again, but I'm not sure why.
I can use the official iOS app from the same network though and it is not blocked.

I'm really struggling to get this working again.
Is there any direction or other tips you can provide?
It was working fine prior to 6 days ago for over a year.

Thank you.

To Reproduce

No response

Expected behavior

Need to generate a token and have it connect successfully.

Relevant log output

[3/2/2026, 12:44:17 AM] [Ring] Error: 
    at responseToError (file:///var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:33:19)
    at requestWithRetry (file:///var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:81:33)
    at processTicksAndRejections (node:internal/process/task_queues:104:5)
    at RingRestClient.getAuth (file:///var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:212:73) {
  response: {
    headers: Headers {
      date: 'Mon, 02 Mar 2026 05:44:17 GMT',
      'content-type': 'text/plain; charset=utf-8',
      'content-length': '20',
      connection: 'keep-alive',
      'cf-ray': '9d5e16b54f864909-ATL',
      'x-content-type-options': 'nosniff',
      'cf-cache-status': 'DYNAMIC',
      server: 'cloudflare'
    },
    status: 406,
    body: '406 Not Acceptable\n\n'
  }
}
[3/2/2026, 12:44:17 AM] [Ring] Request to https://api.ring.com/devices/v1/locations failed:
[3/2/2026, 12:44:17 AM] [Ring] Error: Refresh token is not valid.  Unable to authenticate with Ring servers.  See https://github.com/dgreif/ring/wiki/Refresh-Tokens
    at RingRestClient.getGrantData (file:///var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:207:15)
    at RingRestClient.getAuth (file:///var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:210:32)
    at RingRestClient.getAuth (file:///var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:251:29)
    at processTicksAndRejections (node:internal/process/task_queues:104:5)
[3/2/2026, 12:44:17 AM] [Ring] Error connecting to API
[3/2/2026, 12:44:17 AM] [Ring] Error: Refresh token is not valid.  Unable to authenticate with Ring servers.  See https://github.com/dgreif/ring/wiki/Refresh-Tokens
    at RingRestClient.getGrantData (file:///var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:207:15)
    at RingRestClient.getAuth (file:///var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:210:32)
    at RingRestClient.getAuth (file:///var/lib/homebridge/node_modules/homebridge-ring/node_modules/ring-client-api/lib/rest-client.js:251:29)
    at processTicksAndRejections (node:internal/process/task_queues:104:5)

Screenshots

No response

Additional context

No response

OS

Rasbian

Node.js Version

v24.14.0

NPM Version

11.9.0

ring-client-api

14.3.0

Operating System

Rasbian

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions