Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...

alt

Daniel Nashed

How to get the error message for a Notes error code

Daniel Nashed – 12 December 2022 11:09:24

Sometimes scripts or Domino server commands only return an error code and you would like to know the error message.

There is an easy way to get the error message back from a server command.


"show message [module]


In most cases you don't need server tasks specific error messages and just use the decimal error code.

Here is an example:


show message 404


[4E10:000A-670C] Entry not found in index


By the way, It's probably not a coincident Lotus at that time did choose the error code "404" for "Entry not found in index".

Another interesting error code is 1. The resource string is used to specify the release and also the build time of the release.
This is the information shown in the server console and other places and a reliable way to identify the Domino version.

show message 1

[4E10:000A-670C] Release 12.0.2|November 03, 2022            




Comments

1Thomas Bahn  12.12.2022 14:29:27  How to get the error message for a Notes error code

Vor fast 15 Jahren haben Paul Mooney, Bill Buchan, Julian Robichaux und ich ein kleines Werkzeug dafür entwickelt:

"Alle Texte aus Notes - inklusive Fehlermeldungen", https://www.assono.de/blog/all-texts-from-notes-including-error-messages

So kann man auch von z. B. der deutschen Fehlermeldung über den Code zur englischen kommen und damit leichter im Internet fündig werden.

2Thomas Rosenlund  26.04.2024 7:25:30  How to get the error message for a Notes error code

show message 4747 does not work

3Daniel Nashed  26.04.2024 20:13:27  How to get the error message for a Notes error code

@Thomas Rosenlund, a bit more context then "show message 4747 does not work" would be helpful if you are expecting an answer.

Is this decimal or hex? where does it occur?

If this is a remote error message you have to strip off the remote flag and do a AND with the error mask:

#define ERR_MASK 0x3fff

Not sure if this is taken into account. If you have no more details, this is the only help I can give.

-- Daniel

Links

    Archives


    • [HCL Domino]
    • [Domino on Linux]
    • [Nash!Com]
    • [Daniel Nashed]