Skip to content

ChatGPT custom app shows action discovery failed #20

Description

@dandry

Hello,

Thank you for this plugin! I'd really like to give it a spin with ChatGPT web (not Codex).

Reproduction steps:

  1. Install the plugin on the target website.
  2. Enable AI/MCP option in the plugin.
  3. Generate app password for your admin user.
  4. In ChatGPT, enable Developer Mode.
  5. Add new app, providing the URL of https://example.com/wp-json/mcp/lw-site-manager.
  6. Select Authentication type of Access token / API key.
  7. Select Header scheme of Basic and and click Create.
  8. Then try to connect with the app, a popup will show to provide the key. It has to be base64 encoded username and app password. You can use the following terminal command to generate it in macOS/Linux: printf '%s' 'user:app_password' | base64.
  9. Click Connect.
  10. The interface shows an error. The response in dev tools:
{
    "detail": {
        "error_code": "MCP_ACTION_DISCOVERY_FAILED",
        "message": "Authentication succeeded, action discovery failed",
        "connector_id": "asdk_app_6a68a86408588191bb60e9f7088c3f1a",
        "link_id": "link_6a68af57ac448191aef2cc65d17e1d28",
        "cause": {
            "status_code": 401,
            "detail": "Reauthentication required"
        }
    }
}

Would be great to have it working with ChatGPT.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions