# Undetected access error

**URL:** https://discuss.tryton.org/t/undetected-access-error/7958
**Category:** Developer
**Created:** [October 15, 2024, 8:11am UTC](https://discuss.tryton.org/t/undetected-access-error/7958 "2024-10-15T08:11:37Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lb1975](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@lb1975](https://discuss.tryton.org/u/lb1975)
#### Post date: [October 15, 2024, 8:11am UTC](https://discuss.tryton.org/t/undetected-access-error/7958/1 "2024-10-15T08:11:38Z")

</div>

Hi,

Without any code changes in a report, I get this error :

```auto
2024-10-15 09:55:05 Traceback (most recent call last):
2024-10-15 09:55:05 File "/usr/local/lib/python3.9/dist-packages/trytond/protocols/dispatcher.py", line 204, in _dispatch
2024-10-15 09:55:05 result = rpc.result(meth(*c_args, **c_kwargs))
2024-10-15 09:55:05 File "/usr/local/lib/python3.9/dist-packages/trytond/model/modelsql.py", line 1059, in read
2024-10-15 09:55:05 raise RuntimeError("Undetected access error")
2024-10-15 09:55:05 RuntimeError: Undetected access error
2024-10-15 09:55:05 [Tue Oct 15 07:55:05 2024] ERROR:trytond.protocols.wrappers:<JSONRequest 1@172.18.0.1 'http://localhost:8000/tradon/' [POST] model.trade.fee.report.read>
2024-10-15 09:55:05 Traceback (most recent call last):
2024-10-15 09:55:05 File "/usr/local/lib/python3.9/dist-packages/trytond/protocols/wrappers.py", line 197, in wrapper
2024-10-15 09:55:05 return func(request, pool, *args, **kwargs)
2024-10-15 09:55:05 File "/usr/local/lib/python3.9/dist-packages/trytond/protocols/dispatcher.py", line 204, in _dispatch
2024-10-15 09:55:05 result = rpc.result(meth(*c_args, **c_kwargs))
2024-10-15 09:55:05 File "/usr/local/lib/python3.9/dist-packages/trytond/model/modelsql.py", line 1059, in read
2024-10-15 09:55:05 raise RuntimeError("Undetected access error")
2024-10-15 09:55:05 RuntimeError: Undetected access error

```

and a lot of #ERROR in the list view but not linked to a record in particular.  
If I filter little part of the report by filtering in the context, I have no error…

Any ideas ?  
Tks  
Laurent

---

<div class="post-metadata">

### Author: ![lb1975](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@lb1975](https://discuss.tryton.org/u/lb1975)
#### Post date: [October 15, 2024, 9:36am UTC](https://discuss.tryton.org/t/undetected-access-error/7958/2 "2024-10-15T09:36:58Z")

</div>

The query of the report is an Union of 2 queries, if I execute the report with the 2 queries separatly, it works. Changing all\_ parameter to False or True has no impact.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [October 15, 2024, 10:09am UTC](https://discuss.tryton.org/t/undetected-access-error/7958/3 "2024-10-15T10:09:14Z")

</div>

This is typical of table query that does not generate unique `id`.

---

<div class="post-metadata">

### Author: ![lb1975](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/l/d6d6ee/32.png) [@lb1975](https://discuss.tryton.org/u/lb1975)
#### Post date: [October 15, 2024, 10:16am UTC](https://discuss.tryton.org/t/undetected-access-error/7958/5 "2024-10-15T10:16:59Z")

</div>

oh yes field “id” sorry  
Thanks a lot Cédric it’s work !

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [October 16, 2024, 10:17am UTC](https://discuss.tryton.org/t/undetected-access-error/7958/6 "2024-10-16T10:17:00Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
