0
Not a bug

CLI wbesite Import - 500 Error

TheTechnoMan 10 років тому оновлено Eugene Pankov (Project coordinator) 10 років тому 3
I always get an:

500 Error
Config does not exist
when trying to import a previosly exported JSON file.

Відповідь

Відповідь
Not a bug
You need to use an absolute path to the file.
Відповідь
Not a bug
You need to use an absolute path to the file.
Is the generated JSON code even valid? I mean it ends with:

200 OK
}

What does the 200 OK here? If i try to import that file i will get:

Expecting , delimiter: line 64 column 1


# If i remove that 200 OK it works fine.
Status code is being output on stderr, while actual JSON code is on stdout. You can do following:

ajenti-ipc v export Website > website.json