11-29-2019 06:35 AM
I have created some plugins which i have deployed on nuxeo local server. I have created another simple spring boot project which will call rest api like String createDocumentUrl="http://localhost:8081/nuxeo/api/v1/document";
return restTemplate.exchange(createDocumentUrl, HttpMethod.POST, requestEntity, String.class);
how to handle the exceptions which is coming from nuxeo server with proper message. because what i am getting is only 400 Bad Request
11-30-2019 10:47 AM
According to https://doc.nuxeo.com/nxdoc/error-handling/
Simple mode is activated by default. The extended mode can be configured through a parameter (in nuxeo.conf): org.nuxeo.rest.stack.enable=true
where the modes are defined as:
Two modes are available:
- Simple (without exception stack trace)
- Extended (with exception stack trace)
Have you tried this?
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.