When creating a user, group etc. via the REST API and not specifying a realm, you get an error back:
"MalformedPathException: Malformed path: null"
This is not very informative, as it's not immediately obvious it relates to the realm. I propose to replace the error message with "The provided realm path is malformed".