Hi,
I am facing this issue while creating a wiki via REST API, below is my curl script and getting this response
curl -X POST
http://localhost:8080/xwiki/rest/wikis/xwiki?media=json
Response
com.xpn.xwiki.plugin.packaging.PackageException: Error number 0 in 5: Exception in plugin [Package]: Could not find the package definition
And sometimes, I am getting this one:
{
“code”: 500,
“contactEmail”: null,
“description”: “The server encountered an unexpected condition which prevented it from fulfilling the request”,
“homeRef”: “/”,
“reasonPhrase”: “Internal Server Error”,
“uri”: “http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1”
}
Please let me know if I am missing something. Thanks in advance for your help.