sorare / api

Sorare API documentation
154 stars 47 forks source link

BUG - nbaPastFixtures.leaderboards.lineups(userId) #596

Closed jmallot21 closed 2 months ago

jmallot21 commented 4 months ago

This call does not work and returns an error. If I point to another userId it works.

image

Query CurrentInError($userId: ID, $first: Int! , $after: String){ nbaPastFixtures(first: $first after: $after){ pageInfo { hasNextPage endCursor } nodes { id slug gameWeek leaderboards { displayName slug leaderboardRarity iconImageUrl lineupsCount isTraining lineups(userId: $userId) { nodes { id score rank lineupRewards { __typename ... on CardReward { id state backImageUrl tier card { rarityTyped slug } } ...on CashReward { amountWei amountUSDCents monetaryAmount { eur usd wei } } ... on ConversionCreditReward { monetaryAmount { eur usd wei } maxDiscountApplicablePct } } } } } } } }

{ "userId": "48542ef1-56e4-421b-ba05-7ef97bbe209d", "first": 50}

image

Could you please explain? Thanks a lot.

jmallot21 commented 4 months ago

I have my doubts as to whether this is strongly linked to the ticket https://github.com/sorare/api/issues/589 .

jmallot21 commented 4 months ago

If I remove lineupRewards it works fine. I really think there's a problem with this node and GW 47.

Could you check, it's a big problem on SorareNbaJet.

Thanks in advance.

jmallot21 commented 4 months ago

This error is critical and blocks the correct operation of SorareNbaJet.

@juliengirault, @redox : Would it be possible to take a look at it ?

jmallot21 commented 2 months ago

I don't know if you've done anything, but it works now. Thanks