# Feature Request: improved access denied error

**URL:** <https://discourse.sensu.io/t/feature-request-improved-access-denied-error/1354>\
**Category:** Sensu Go\
**Created:** [September 12, 2019, 7:05am UTC](https://discourse.sensu.io/t/feature-request-improved-access-denied-error/1354 "2019-09-12T07:05:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KendallChenoweth](https://avatars.discourse-cdn.com/v4/letter/k/ecd19e/32.png) [@KendallChenoweth](https://discourse.sensu.io/u/KendallChenoweth)\
**Post date:** [September 12, 2019, 7:05am UTC](https://discourse.sensu.io/t/feature-request-improved-access-denied-error/1354/1 "2019-09-12T07:05:43Z")

</div>

When a user attempts to do something that they haven’t been granted, they are successfully denied, but with the following error message. Could the short error message be improved to something more readable?

An error was encountered

Please [submit an issue] to help resolve this problem.  
Reloading the page may be required to recover.

Error: GraphQL error: request unauthorized  
at new ApolloError ([http://sensu/static/js/vendor\_4420.js:97:183531](http://sensu/static/js/vendor_4420.js:97:183531))  
at Object.next ([http://sensu/static/js/vendor\_4420.js:97:201710](http://sensu/static/js/vendor_4420.js:97:201710))  
at notifySubscription ([http://sensu/static/js/vendor\_4420.js:112:26071](http://sensu/static/js/vendor_4420.js:112:26071))  
at onNotify ([http://sensu/static/js/vendor\_4420.js:112:26687](http://sensu/static/js/vendor_4420.js:112:26687))  
at SubscriptionObserver.next ([http://sensu/static/js/vendor\_4420.js:112:27501](http://sensu/static/js/vendor_4420.js:112:27501))  
at [http://sensu/static/js/vendor\_4420.js:97:199224](http://sensu/static/js/vendor_4420.js:97:199224)  
at Set.forEach ()  
at Object.next ([http://sensu/static/js/vendor\_4420.js:97:199187](http://sensu/static/js/vendor_4420.js:97:199187))  
at notifySubscription ([http://sensu/static/js/vendor\_4420.js:112:26071](http://sensu/static/js/vendor_4420.js:112:26071))  
at onNotify ([http://sensu/static/js/vendor\_4420.js:112:26687](http://sensu/static/js/vendor_4420.js:112:26687))  
at SubscriptionObserver.next ([http://sensu/static/js/vendor\_4420.js:112:27501](http://sensu/static/js/vendor_4420.js:112:27501))  
at notifySubscription ([http://sensu/static/js/vendor\_4420.js:112:26071](http://sensu/static/js/vendor_4420.js:112:26071))  
at onNotify ([http://sensu/static/js/vendor\_4420.js:112:26687](http://sensu/static/js/vendor_4420.js:112:26687))  
at SubscriptionObserver.next ([http://sensu/static/js/vendor\_4420.js:112:27501](http://sensu/static/js/vendor_4420.js:112:27501))  
at notifySubscription ([http://sensu/static/js/vendor\_4420.js:112:26071](http://sensu/static/js/vendor_4420.js:112:26071))  
at onNotify ([http://sensu/static/js/vendor\_4420.js:112:26687](http://sensu/static/js/vendor_4420.js:112:26687))
