Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

fix: allow non-UUID sessionId by changing column type to varchar

Open eriksonssilva opened this issue 8 months ago • 0 comments

This change updates the sessionId column in the Execution entity from uuid to varchar, allowing strings (e.g. phone number, email, custom IDs) to be used as session identifiers without errors.

While this behavior already works when using a Chatflow, Agentflow relies on the execution table — which previously enforced a UUID type. As a result, sending a string would cause the following error:

QueryFailedError: invalid input syntax for type uuid: "some_string"

This change fixes that inconsistency without breaking any existing functionality.

eriksonssilva avatar May 19 '25 02:05 eriksonssilva