How do I resolve R_SC_SEC_ROLE not found for USER_DOC_SCROLE / R_SC_SEC_ROLE note found for R_SC_USER_ROLE_LNK?

This error message can appear if the Security Role ID entered is misspelled.

Example: D_SW_UDC_FORGN is an invalid Security Role. The Security Role should be D_SW_UDOC_FORGN.

Screenshot of a UDOC with the Security Role ID field filled in with D_SW_UDC_FORGN, highlighted in red and a red arrow point to this field.