CanineHQ/canine · error · Error

Failed to fetch repository index

Error message

Failed to fetch repository index

What it means

Error "Failed to fetch repository index" thrown in CanineHQ/canine.

Source

Thrown at app/javascript/controllers/add_ons/version_selector_controller.js:40

    // Disable submit button while fetching
    this.disableSubmitButton()

    this.showLoading()
    this.hideError()

    try {
      const response = await fetch('/add_ons/fetch_helm_repository_index', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json',
          'X-CSRF-Token': document.querySelector('[name="csrf-token"]').content
        },
        body: JSON.stringify({ repo_url: repositoryUrl })
      })

      if (!response.ok) {
        throw new Error('Failed to fetch repository index')
      }

      const data = await response.json()
      const chartName = chartUrl.split('/').pop()
      const versions = data.charts[chartName]

      if (versions && versions.length > 0) {
        this.populateVersionSelector(versions)
        this.hideLoading()
        this.showVersionSelector()
        this.enableSubmitButton()
      } else {
        throw new Error(`Chart "${chartName}" not found in repository`)
      }
    } catch (error) {
      this.hideLoading()
      this.showError(error.message)
      this.hideVersionSelector()

View on GitHub (pinned to ba4ee3968d)

When it happens

Trigger: Thrown at app/javascript/controllers/add_ons/version_selector_controller.js:40 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of CanineHQ/canine@ba4ee3968d (2026-08-23). Data as JSON: /api/errors/c3c90b8d5324a5a0. Report an issue: GitHub.