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.
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:
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.