As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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
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)
Two modes are available:
Have you tried this?