ZohoDesk API [from limit] ERROR.
I am an autor of this ruby lib(gem):
https://github.com/chaky222/zoho_service
I found bug in your api:
If
from from>0,
from
must be more by one. Here:
in line 24 here you can see my fix for this bug:
- query[:from] += 1 if query[:from] > 0 # WTF bug with from-limit on zoho server!
Get tickets without my fix (look at id=
2580000000046037
):
2580000000025097
2580000000047005
2580000000047033
2580000000046009
2580000000046037
2580000000046037
2580000000047065
2580000000046069
2580000000046099
2580000000047093
2580000000046131
2580000000047141
2580000000046187
2580000000051001
2580000000055003
tickets all=[15]
Get tickets with my fix:
2580000000025097
2580000000047005
2580000000047033
2580000000046009
2580000000046037
2580000000047065
2580000000046069
2580000000046099
2580000000047093
2580000000046131
2580000000047141
2580000000046187
2580000000051001
2580000000055003
tickets all=[14]