authorize error info returned in query instead of fragment