Skip to content
This repository was archived by the owner on Aug 10, 2026. It is now read-only.
This repository was archived by the owner on Aug 10, 2026. It is now read-only.

IDE onboarding fails with 500 on PUT /api/settings/providers/claude #226

Open

Description

@yan-victor21

Hi! I’m using AGH v0.0.4 on Ubuntu/WSL and I’m hitting an error when trying to configure Claude Code through the web IDE onboarding.

Environment

  • OS: Ubuntu on WSL
  • AGH version: 0.0.4
  • Node: v22.22.3
  • npm: 10.9.8
  • Install method: npm install -g @compozy/agh
  • Node manager: fnm
  • AGH binary path:
    /run/user/1000/fnm_multishells/1368_1779991555939/bin/agh

Current config

~/.agh/config.toml:

[defaults]
agent = "general"
provider = "claude"

[permissions]
mode = "approve-all"

[providers.claude.models]
default = "claude-sonnet-4-6"

![Internal Server Error screenshot](https://github.com/user-attachments/assets/62052a9f-3ef2-4319-8cfd-9653bf245221)

![Network request 500 screenshot](https://github.com/user-attachments/assets/b84b5ce1-0a05-4f12-9cce-2066878552d2)

Activity

  1. hiSandog commented on Jul 13, 2026

    @hiSandog

    The settings endpoint should turn provider/config parsing failures into a typed 4xx response with the invalid field and actionable message, not an opaque 500. On WSL with fnm, also record the server process's resolved Claude executable/PATH because a web-launched service may not inherit the interactive shell's multishell path. An onboarding test with missing executable, malformed TOML, and valid Claude config would separate environment discovery from persistence errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions