T
Typebot13mo ago
yFuzzy_

Import error?!

No description
10 Replies
Baptiste
Baptiste13mo ago
Where did you export the bot from? It seems it's not a valid file
yFuzzy_
yFuzzy_OP13mo ago
I thought it would work, importing directly from the JSON obtained via API, but it turned out I was trying to create a flow in n8n to perform daily backups of the nodes. However, I realized that it's not possible, it gives an error! Is there any forecast or way to automatically export the nodes?
No description
yFuzzy_
yFuzzy_OP13mo ago
No description
yFuzzy_
yFuzzy_OP13mo ago
@Baptiste
Baptiste
Baptiste13mo ago
Provide the file you are trying to export. Getting the bot via API and import it to Typebot afterwards should work.
yFuzzy_
yFuzzy_OP13mo ago
That's exactly what I did, provide the bot ID (v1/typebots/ID). Then I tried to import, but it gave the error we saw there. this error..
Baptiste
Baptiste13mo ago
Like I said, provide the file you are trying to import so that we can debug the issue
Baptiste
Baptiste12mo ago
This needs to be what's after "typebot": { So your file should look like:
{
"version": "6",
...
}
{
"version": "6",
...
}
yFuzzy_
yFuzzy_OP12mo ago
Thank you, Baptiste, you're awesome! It worked just as you said, and I was able to automate the backups.

Did you find this page helpful?