0
Pas un bug

CLI wbesite Import - 500 Error

TheTechnoMan il y a 6 ans mis à jour par Eugene Pankov (Project coordinator) il y a 6 ans 3
I always get an:

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

Solution

Solution
Pas un bug
You need to use an absolute path to the file.
Solution
Pas un 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