NousResearch/hermes-agent · error

current.error || 'OAuth authorization failed'

Error message

current.error || 'OAuth authorization failed'

What it means

Error "current.error || 'OAuth authorization failed'" thrown in NousResearch/hermes-agent.

Source

Thrown at apps/desktop/src/lib/mcp-dashboard-oauth.ts:91

      pollFailures = 0
    } catch (error) {
      pollFailures += 1

      if (pollFailures >= maxPollFailures) {
        throw error
      }

      await sleep(1000)

      continue
    }

    if (current.status === 'approved') {
      return current
    }

    if (current.status === 'error') {
      throw new Error(current.error || 'OAuth authorization failed')
    }

    await sleep(1000)
  }
}

View on GitHub (pinned to c896c09c42)

Solutions

  1. Retry the authorization; the provider returned an error.
  2. Check the OAuth error shown by the provider and fix client/redirect settings.
  3. Re-run the sign-in flow from Settings after correcting the OAuth configuration.

When it happens

Trigger: Thrown at apps/desktop/src/lib/mcp-dashboard-oauth.ts:91 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of NousResearch/hermes-agent@c896c09c42 (2026-08-14). Data as JSON: /api/errors/47f099ac7ea6339c. Report an issue: GitHub.