Issue #3491256 by amateescu: Improve the exception message for unsupported entity types in a workspace (cherry picked from commit 2b63c15d)