0
Not a bug

CLI wbesite Import - 500 Error

TheTechnoMan 6 jaar geleden bijgewerkt door Eugene Pankov (Project coordinator) 6 jaar geleden 3
I always get an:

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

Antwoord

Antwoord
Not a bug
You need to use an absolute path to the file.
Antwoord
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