Trying to create two apps with the same app id leads to an internal server error and the rest endpoint returns an HTML page with the exception stacktrace.
The error happens here.