In all three tabs (Page Types, Block Types and Visitor Group) first API call is made with a content type id "undefined". Subsequent calls are made and rendered as expected. But when a solution is set up with custom error page, then the first call with undefined will result in "500 error page".
In all three tabs (Page Types, Block Types and Visitor Group) first API call is made with a content type id "undefined". Subsequent calls are made and rendered as expected. But when a solution is set up with custom error page, then the first call with undefined will result in "500 error page".
To overcome this, validated the content type id.