Issue Details:
Seeing a different error message from web service other than the already configured error message.

For Example:

We are getting a different error message with copyDocumentType Web Service when the document type already exist.

Expected message:“name entered for new doc type already exist. please enter a unique document name”
Actual Message: “The custom error module does not recognize this error”

 

Analysis:

This error is coming from IIS side and not because of any issue in Ephesoft. This is specifically because IIS is not configured to PassThrough the existing error message.

 

Fix:

Add below to web.xml will fix the issue:

<system.webServer>

<httpErrors errorMode=”DetailedLocalOnly” existingResponse=”PassThrough”>

</httpErrors>

</system.webServer>

 

Important Links:

https://github.com/tjanczuk/iisnode/issues/238

http://stackoverflow.com/questions/12908764/iis-7-5-sending-http-status-code-422-with-custom-errors-on

 

Was this article helpful to you?

Abhishek Jain

Comments are closed.