ItsyJam.3482 Posted March 26, 2022 Share Posted March 26, 2022 I noticed today while getting my dailies through the API was throwing an error. When I debugged my code, it looks like the endpoint today is returning the old schema for required_access: https://api.guildwars2.com/v2/achievements/daily?v=latest "required_access": [ "GuildWars2", "HeartOfThorns", "PathOfFire" ] according to the API documentation here https://wiki.guildwars2.com/wiki/API:2/achievements/daily, Quote required_access (array) - Contains which Guild Wars 2 campaigns are required in order to see this daily achievement. Possible values: GuildWars2, and/or HeartOfThorns, and/or PathOfFire. Available on schema previous to 2019-05-16T00:00:00.000Z. required_access (object - optional) - Describes if a daily requires a Guild Wars 2 campaign or not. Available on schema 2019-05-16T00:00:00.000Z or later. product (string) - A Guild Wars 2 campaign. Can either be HeartOfThorns or PathOfFire. condition (string) - The condition if a account can or cannot see this daily achievement. Can either be HasAccess or NoAccess. Even worse, tomorrow's dailies has been switching between returning the old schema, and not returning required_access at all https://api.guildwars2.com/v2/achievements/daily/tomorrow?v=latest doesn't matter if I pass v=latest, or a specific date past 2019-05-16, it always returns the old schema thus breaking my code that is using the new one for quite some time 1 Link to comment Share on other sites More sharing options...
Healix.5819 Posted March 27, 2022 Share Posted March 27, 2022 You'll also notice /daily is showing /tomorrow. It's been broken for several days now. 1 2 Link to comment Share on other sites More sharing options...
Nagiil.1230 Posted April 1, 2022 Share Posted April 1, 2022 Same here. /daily returns the entries for /daily/tomorrow. 1 Link to comment Share on other sites More sharing options...
Pooktress.2805 Posted April 14, 2022 Share Posted April 14, 2022 anet please fix Link to comment Share on other sites More sharing options...
ArenaNet Staff Rubi Bayer.8493 Posted April 15, 2022 ArenaNet Staff Share Posted April 15, 2022 Sorry about the slow reply on this--I've let people know to look into it! 1 Link to comment Share on other sites More sharing options...
nicoper.3215 Posted May 8, 2022 Share Posted May 8, 2022 On 4/15/2022 at 6:02 PM, Rubi Bayer.8493 said: Sorry about the slow reply on this--I've let people know to look into it! Any updates on this yet? Link to comment Share on other sites More sharing options...
Healix.5819 Posted May 9, 2022 Share Posted May 9, 2022 On 5/7/2022 at 5:50 PM, nicoper.3215 said: Any updates on this yet? It was fixed the week that was posted. Link to comment Share on other sites More sharing options...
nicoper.3215 Posted May 9, 2022 Share Posted May 9, 2022 2 hours ago, Healix.5819 said: It was fixed the week that was posted. It was‽ I’m still getting the wrong dailies on GW2Timer and assumed this was the root cause since this thread was linked on their forum. Guess I’ll have to query the API myself and see what’s up with that, then. Thanks for the info. Link to comment Share on other sites More sharing options...
Healix.5819 Posted May 9, 2022 Share Posted May 9, 2022 36 minutes ago, nicoper.3215 said: I’m still getting the wrong dailies on GW2Timer and assumed this was the root cause since this thread was linked on their forum. gw2timer.com? is showing the correct dailies, so if it's wrong for you, try clearing your cache, or lazy test, open a private window. Link to comment Share on other sites More sharing options...
Pooktress.2805 Posted May 20, 2022 Share Posted May 20, 2022 The https://api.guildwars2.com/v2/achievements/daily endpoint seems to return the correct dailies only if you don't put the `?v=latest` parameter Link to comment Share on other sites More sharing options...
Healix.5819 Posted May 22, 2022 Share Posted May 22, 2022 On 5/19/2022 at 5:56 PM, Pooktress.2805 said: seems to return the correct dailies only if you don't put the `?v=latest` parameter Are you sure? I've been using "latest" the entire time. There are multiple servers, so maybe one is wrong, but I've checked both NA (34.202.125.107, 54.162.70.13) and EU (18.195.210.70, 52.28.111.132) and they're currently accurate. Link to comment Share on other sites More sharing options...
Pooktress.2805 Posted June 9, 2022 Share Posted June 9, 2022 On 5/22/2022 at 5:05 PM, Healix.5819 said: Are you sure? I've been using "latest" the entire time. There are multiple servers, so maybe one is wrong, but I've checked both NA (34.202.125.107, 54.162.70.13) and EU (18.195.210.70, 52.28.111.132) and they're currently accurate. Yes I'm sure -- on that particular day, at that particular time, there was a discrepancy between the data being returned by the daily API endpoint with & without the `?v=latest` parameter. It was shortly after server reset time on that day I checked. I don't check every day, so it could be this behavior is inconsistent. I just checked both endpoints now and there is no difference in the data. GW2Bot (Discord bot) checks the endpoint at reset time and has a function to post the daily achievements as a message. The function always used to post accurate data, but for the past several weeks the bot has occasionally posted incorrect daily achievements, so the endpoint seems to be unreliable. Perhaps this is a seperate issue that deserves its own thread. Link to comment Share on other sites More sharing options...
Healix.5819 Posted June 9, 2022 Share Posted June 9, 2022 2 hours ago, Pooktress.2805 said: It was shortly after server reset time on that day I checked. It can take a few (~5) minutes after the reset in-game for the API to update. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now