Missing takes in API or...

This issue was originally reported as related to Critical Turf Server or API Issue.
Status
confirmed
Resolution
open
Reported by
DIProgan
Date submitted
2022-03-04 10:16
Issue ID
#12484

Steps to reproduce

Collect API-data like a good like drone.

Description

A user was rewarded Daily-180 while the API-data for all 3 of turfbridge, turfportalen and frut listed the users Day 131 as incomplete: frut.zundin.se/2day.php?use... My thoughts on why this may be: #1 The user reported an issue and was granted the 2 extra takes #2 The API straight-up failed to report the takes (buggy assists?) #3 There's something wrong with the code for rewarding medals turfbridge uses api.turfgame.com/unstable/feeds/zone

Attachments

No attachments.

Related issues

No related issues.

Responses

happyf

The cause is probable #2: The API straight-up failed to report the takes (buggy assists?) The user made two assist that day that didn't show in the api.

DIProgan
  • Also affected
  • Thinks it is important

New missing assist in my API data at "2022-07-25T14:59:18+0000" ("92875" / "aka63" assisted by "91681" / "pellea64") I first requested this data seconds or less after the take. Since the same take became part of a second request some time later I can compare the two data-sets and in the second set the assist magically appear. This leads me to believe assists are added on after the take itself when the entire thing should be a unit either available or unavailable to the API users. frut.zundin.se/2day.php?use...

DIProgan
  • Thinks it is important

I found 11 more occurences of requests where the API at first responded with no assists for the take and later on added one when a second request was made later. I doubt the specific information has any value and that it's more of a general behaviour of the API but just in case here they are: '2021-09-07T14:54:39+0000', 'VästraRing' '2021-09-17T15:53:50+0000', 'Bondesysslor' '2021-10-09T14:48:43+0000', 'Brommaplan' '2021-12-07T11:44:06+0000', 'Plaskdammen' '2022-02-06T12:26:16+0000', 'AkkaHusen' '2022-04-04T04:00:36+0000', 'ÄlvsjöStation' '2022-04-29T19:19:56+0000', 'TrainSpot' '2022-05-03T07:45:14+0000', 'KöpaVingar' '2022-05-24T19:12:30+0000', 'SolnaZone' '2022-06-23T03:45:10+0000', 'ÖstersundRail' '2022-07-23T20:32:42+0000', 'Kyrkomuren'

Add comment or attachment

Log in to add a comment.