AnsweredAssumed Answered

Not able to execute the below query from REST client such as POSTMAN

Question asked by kartech11 on Jul 23, 2018
Latest reply on Jul 23, 2018 by jpotts

I am trying to run the below query, do you know what the below issue could be?

 

{
"query": {
"query": "select * from my:documents where contains('PATH:"/app:company_home/st:sites/cm:my-main-site/cm:documentLibrary/*"')",
"language": "cmis"
}
}

 

Error

"error": {
"errorKey": "Could not read content from HTTP request body: Unexpected character ('/' (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature 'ALLOW_COMMENTS' not enabled for parser)\n at [Source: java.io.BufferedReader@27de617f; line: 3, column: 65]",
"statusCode": 400,

Outcomes