# Error executing function 'RunQuery'

**URL:** <https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666>\
**Category:** Ignition\
**Created:** [February 19, 2019, 5:34am UTC](https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666 "2019-02-19T05:34:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 19, 2019, 12:35pm UTC](https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666/2 "2019-02-19T12:35:06Z")

</div>

> [@The current user does not have the required roles for this operation](http://forum.inductiveautomation.com/t/the-current-user-does-not-have-the-required-roles-for-this-operation/18848):
>
> This project works correctly in the designer but does not work in the runtime. This is similar to this post: [ERROR(500): Error executing function 'RunQuery': The current user does not have the required roles for this operation](http://forum.inductiveautomation.com/t/error-500-error-executing-function-runquery-the-current-user-does-not-have-the-required-roles-for-this-operation/15252) The problem I’ve encountered is that even after following the listed solution and enabling the permissions, the problem persists.

---

_[View the full topic](https://forum.inductiveautomation.com/t/error-executing-function-runquery/22666)._
