Graphcool / graphcool-framework

Apache License 2.0
1.77k stars 131 forks source link

Multi-Page query throws Insufficient Permissions Error on just one of the queries? #511

Open juanpprieto opened 6 years ago

juanpprieto commented 6 years ago

Current behavior Insufficient permissions error on just one page of a multi-page query with 4K nodes. This same query works just fine in sets with less nodes. (<2 K or so ). I have also tried different First, Skip values ranging from 100 to 1000

Reproduction The query used to fetch the pages query = gqlquery ($t1: DateTime, $t2: DateTime){ orders_0${o}: allOrders(first: ${first}, skip: ${skip}, filter: { ${activeFilter.query.dateProp}_gte: $t1, ${activeFilter.query.dateProp}_lte: $t2}){ id dateCreated total status items { id name price } billing { firstName lastName } }};

Expected behavior?

ProjectId: cjeoqlmvi4ert0147u1u8pdmd

Only page 7's query is returning a permissions error. All other queries resolve just fine.

screen shot 2018-04-05 at 08 59 20