Hello everything is fine?
I'm trying to import a flow via api.
I'm passing it on the body
{
"workspaceId": "<Workspace ID>",
"typebot": "<Typebot ID>"
}
as well as in the documentation.
But I'm getting the following error:
----
Status code 400
{"message":"Input validation failed","code":"BAD_REQUEST","issues":[{"code":"invalid_type","expected":"string","received":"undefined"," path":["typebot","name"],"message":"Required"},{"code":"invalid_type","expected":"array","received":"undefined","path" :["typebot","variables"],"message":"Required"},{"code":"invalid_type","expected":"object","received":"undefined","path":[ "typebot","theme"],"message":"Required"},{"code":"invalid_type","expected":"object","received":"undefined","path":["typebot ","settings"],"message":"Required"},{"code":"invalid_type","expected":"string","received":"undefined","path":["typebot", "icon"],"message":"Required"},{"code":"invalid_type","expected":"string","received":"undefined","path":["typebot","folderId "],"message":"Required"}]}
-----
Does anyone know why?
Thank you very much