puyup
1
Hello, I have create custom DocType called Queue
with many fields like Company
but I can’t filters the results.
What I try like this:
http://127.0.0.1:8300/api/resource/Queue?filters=[[“Company”, “=”, “Inc”]]
I try again with
http://127.0.0.1:8300/api/resource/Queue?filters=[[“name”, “=”, “Q-123”]]
also not working yet.
The filters not working as expected like default DocType coming with ErpNext like Sales Order
What I missed up about custom DocType?
NCP
2
Please check the reference:
puyup
3
I have try all of these but still not working 
from that filter I expect only return one data, but still return all of data
puyup
4
I try use illegal operator but not return any errors

NCP
5
Please check it, it’s worked properly.
Another output:
puyup
6
For default DocType in my side working just fine too (like Company, Sales Order, POS Profile, etc)
But I mean for custom DocType., the Queue
is custom and filtering not working.
1 Like
puyup
7
I try print inside get_list method from this file: /home/frappe/bezmoo/bezmooto/apps/frappe/frappe/client.py
The args for filters
is always none for custom DocType
1 Like
NCP
8
I tested with custom doctype, which also worked.
Check the documentation: Token Based Authentication
1 Like
puyup
9
Very confusing, still not filtered yet 
NCP
10
Output is proper, You know what I want, not me
puyup
11
Ops!! I found it
This is the problems
Inside body have a payload
after remove it, all working properl