- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2020 01:46 AM
How to determin the field that cause of following error message?
" Invalid query detected, please check logs for details [Unknown field table in table sys_user]"
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2020 02:26 AM
Hi,
it seems you are using some field which is names as table which is not present on sys_user table
please check any business rule on that table which contains that field
https://hi.service-now.com/kb_view.do?sysparm_article=KB0758921
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2020 01:56 AM
Hello Ryosuke Sugisawa,
Please go throught below links,
https://hi.service-now.com/kb_view.do?sysparm_article=KB0758921
Hope this will helps.
Kindly mark an answer as correct and helpful if it will resolve your query.
Regards,
Akshata
(ServiceNow Developer)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2020 02:26 AM
Hi,
it seems you are using some field which is names as table which is not present on sys_user table
please check any business rule on that table which contains that field
https://hi.service-now.com/kb_view.do?sysparm_article=KB0758921
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2020 06:37 AM
I have the same issue:
On the incident table I removed the "incident.u_affected_user" field and replaced it with task.u_affected
Checked all scripts and there are no references to "incident.u_affected_user"
But in the log the following appears regularly from different users (including myself):
"Invalid query detected, please check logs for details [Unknown field u_affected_user in table incident]"
Ive done cache.do but the error is still coming up.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2020 10:35 AM
Hello,
The problem also appear if you use addEncodedQuery But you used a "Classic" Query.
Thanks