Skip to content

Can't create Hono connection via Connections HTTP API POST #1746

Description

@calohmn

A Hono connection requires the connection ID to be set to the ID of the Hono tenant that this connection is to be used for.

But, when trying to create a Hono connection via the Connections HTTP API, along with specifying the connection ID in the request JSON, there is an error response:

{
  "status": 400,
  "error": "connectivity:id.notsettable",
  "message": "It is not allowed to provide an explicit ID for a connection.",
  "description": "Remove the ID from the connection as it will be generated."
}

Therefore it seems a Hono connection can't be created in the recommended way using the HTTP API. Instead, the piggyback commands API needs to be used.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions