Hi,
Sometimes when a request has an error in CUPI, the error message is translated (for example: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ErrorDetails><errors><code>INVALID_PARAMETER</code><message>ServiceAlias is either missing or empty.</message></errors></ErrorDetails>) but sometimes, the error message is a code (for example: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ErrorDetails><errors><code>DATA_EXCEPTION</code><message>informix.cc_custom_tbl_externalservice_serverrequired</message></errors></ErrorDetails>). Is there a way to get a translation using the error code?
Thanks,
Fabien
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
there's no translation about (i.e. no giant table of errors that get mapped to a human readable explanation) - the errors are usually something that can be figured out, though- in the example above it points you to the externalservice table and tells you a required parameter there is missing (i.e. the server reference itself). the <message> tag is what points you there - the code is just the type of error which is pretty general
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.