Hello,
I can try to help.
Modern UI Behavior:
- Modern UI in SharePoint uses asynchronous REST calls, which may not process or display the full custom error message returned from the backend.
- This behavior might be by design, as the Modern UI often simplifies error messages for end users.
Localization or Fallback Mechanism:
- The system may default to a localized generic error message ("Mislykkedes") instead of the specific error details.
Error Handling Differences:
- The Modern UI might suppress or ignore detailed error messages for security or usability reasons, which could lead to the generic error being displayed instead of the full custom message.
Best Regards,
Ali Koc