ERROR: Detail view requires a specific record type when using mode 'detail'.