I am in the process of setting up a WebDav server using mlGradle with the following payload:
{
"server-name": "%%NAME%%-webdav",
"group-name": "%%GROUP%%",
"content-database": "%%DATABASE%%",
"server-type": "webdav",
"enabled": true,
"root": "/",
"port": 8099,
"authentication": "digest"
}
However, I encounter the following error when executing mlDeploy
:
* What went wrong:
Execution failed for task ':mlDeployApp'.
> 400 Bad Request: "{"errorResponse":{"statusCode":"400", "status":"Bad Request", "messageCode":"MANAGE-INVALIDPAYLOAD", "message":"MANAGE-INVALIDPAYLOAD: (err:FOER0000) Payload has errors in structure, content-type or values. Server database missing."}}"
Could someone help me in resolving this issue?
I am in the process of setting up a WebDav server using mlGradle with the following payload:
{
"server-name": "%%NAME%%-webdav",
"group-name": "%%GROUP%%",
"content-database": "%%DATABASE%%",
"server-type": "webdav",
"enabled": true,
"root": "/",
"port": 8099,
"authentication": "digest"
}
However, I encounter the following error when executing mlDeploy
:
* What went wrong:
Execution failed for task ':mlDeployApp'.
> 400 Bad Request: "{"errorResponse":{"statusCode":"400", "status":"Bad Request", "messageCode":"MANAGE-INVALIDPAYLOAD", "message":"MANAGE-INVALIDPAYLOAD: (err:FOER0000) Payload has errors in structure, content-type or values. Server database missing."}}"
Could someone help me in resolving this issue?
Share Improve this question asked Mar 23 at 8:43 marklogic_codermarklogic_coder 1,5309 silver badges11 bronze badges1 Answer
Reset to default 1I spent some time reviewing the MarkLogic
code and discovered a section where the "webDAV"
server needs the modules database to be configured. I can't believe I overlooked that; it was a simple error.
Upon reviewing these lines in MarkLogic, I adjusted my payload accordingly, and it was successful.
Updated Payload is :
{
"server-name": "%%NAME%%-webdav",
"group-name": "%%GROUP%%",
"modules-database": "%%MODULES_DATABASE%%",
"server-type": "webdav",
"enabled": true,
"root": "/",
"port": 8099,
"authentication": "digest"
}
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744292757a4567113.html
评论列表(0条)