# Wanikani API is so confused by my account

**URL:** <https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006>\
**Category:** WaniKani\
**Created:** [February 5, 2019, 3:57am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006 "2019-02-05T03:57:45Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![miked0801](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/miked0801/32/4241_2.png) [@miked0801](https://community.wanikani.com/u/miked0801)\
**Post date:** [February 5, 2019, 3:57am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/1 "2019-02-05T03:57:46Z")

</div>

I vary between 100s and 1100 days on my reviews. Probably because of my reset, but I’d expect the system to handle that better. Doesn’t honestly matter, but it is a bit buggy. Also do all reviews via allicrab mobile app. I’m actually level 20 atm.

---

<div class="post-metadata">

**Author:** ![Leebo](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/leebo/32/439476_2.png) [@Leebo](https://community.wanikani.com/u/Leebo)\
**Post date:** [February 5, 2019, 4:00am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/2 "2019-02-05T04:00:42Z")

</div>

What is it that is actually the issue?

The level showing up on the forum is a pretty common bug. Just log out and back into the forum and it will display correctly.

---

<div class="post-metadata">

**Author:** ![Vanilla](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/vanilla/32/521468_2.png) [@Vanilla](https://community.wanikani.com/u/Vanilla)\
**Post date:** [February 5, 2019, 4:01am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/3 "2019-02-05T04:01:43Z")

</div>

Logging out of the forums and back in solves the level problem I believe.

---

<div class="post-metadata">

**Author:** ![miked0801](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/miked0801/32/4241_2.png) [@miked0801](https://community.wanikani.com/u/miked0801)\
**Post date:** [February 5, 2019, 4:03am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/4 "2019-02-05T04:03:22Z")

</div>

When viewing my data for next level time or previous level times on various statistics sites, the data is quite wrong. I can post my API number if this could help. My account is quite old if that matters.

---

<div class="post-metadata">

**Author:** ![Leebo](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/leebo/32/439476_2.png) [@Leebo](https://community.wanikani.com/u/Leebo)\
**Post date:** [February 5, 2019, 4:04am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/5 "2019-02-05T04:04:00Z")

</div>

Don’t post your API.

But are you using the new versions of the API and stats site?

---

<div class="post-metadata">

**Author:** ![miked0801](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/miked0801/32/4241_2.png) [@miked0801](https://community.wanikani.com/u/miked0801)\
**Post date:** [February 5, 2019, 4:05am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/6 "2019-02-05T04:05:45Z")

</div>

Did an allicrab logout and back in. Maybe part of the issue is here. Ah this fixed the forum level issue as predicted.

---

<div class="post-metadata">

**Author:** ![miked0801](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/miked0801/32/4241_2.png) [@miked0801](https://community.wanikani.com/u/miked0801)\
**Post date:** [February 5, 2019, 4:09am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/7 "2019-02-05T04:09:05Z")

</div>

Current level time still reports 1110 days though, which isn’t close to correct 😉

---

<div class="post-metadata">

**Author:** ![Leebo](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/leebo/32/439476_2.png) [@Leebo](https://community.wanikani.com/u/Leebo)\
**Post date:** [February 5, 2019, 4:10am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/8 "2019-02-05T04:10:47Z")

</div>

Are you on the new version of the stats site with your APIv2? I don’t know the link off the top of my head.

---

<div class="post-metadata">

**Author:** ![SleepyOne](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/sleepyone/32/217940_2.png) [@SleepyOne](https://community.wanikani.com/u/SleepyOne)\
**Post date:** [February 5, 2019, 4:13am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/9 "2019-02-05T04:13:10Z")

</div>

The new WK stats site is [here](https://www.wkstats.com). Perhaps try that one and see if the issue persists?

---

<div class="post-metadata">

**Author:** ![miked0801](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/miked0801/32/4241_2.png) [@miked0801](https://community.wanikani.com/u/miked0801)\
**Post date:** [February 5, 2019, 4:15am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/10 "2019-02-05T04:15:04Z")

</div>

This was the site I was using. Version 1 api key has the “interesting” stats. Version 2 key doesn’t seem to work there.

---

<div class="post-metadata">

**Author:** ![SleepyOne](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/sleepyone/32/217940_2.png) [@SleepyOne](https://community.wanikani.com/u/SleepyOne)\
**Post date:** [February 5, 2019, 4:15am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/11 "2019-02-05T04:15:47Z")

</div>

What are you seeing for the version 2 key that doesn’t seem to work?

---

<div class="post-metadata">

**Author:** ![Leebo](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/leebo/32/439476_2.png) [@Leebo](https://community.wanikani.com/u/Leebo)\
**Post date:** [February 5, 2019, 4:16am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/12 "2019-02-05T04:16:02Z")

</div>

The wkstats thread had a discussion explicitly about handling accounts with resets.

---

<div class="post-metadata">

**Author:** ![miked0801](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/miked0801/32/4241_2.png) [@miked0801](https://community.wanikani.com/u/miked0801)\
**Post date:** [February 5, 2019, 4:16am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/13 "2019-02-05T04:16:45Z")

</div>

Says invalid key format. I retry my cut and paste, but a straight use doesn’t seem to work. Yeah not good. Do I need to remove the dashes or perhaps should I regenerate my version 2 key again because my account is quite old, perhaps the format changed?

---

<div class="post-metadata">

**Author:** ![miked0801](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/miked0801/32/4241_2.png) [@miked0801](https://community.wanikani.com/u/miked0801)\
**Post date:** [February 5, 2019, 4:21am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/14 "2019-02-05T04:21:45Z")

</div>

Great… how do I find that thread?

---

<div class="post-metadata">

**Author:** ![Leebo](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/leebo/32/439476_2.png) [@Leebo](https://community.wanikani.com/u/Leebo)\
**Post date:** [February 5, 2019, 4:23am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/15 "2019-02-05T04:23:09Z")

</div>

> [@\[Preview\]: Upcoming wkstats.com changes (Have you reset your level?)](https://community.wanikani.com/t/preview-upcoming-wkstatscom-changes-have-you-reset-your-level/31361):
>
> Hi all, I’m working on a major update to the wkstats.com site, and I need some help. [edit: I’ve uploaded a few parts of the site for early feedback → [https://www.wkstats.com:10001/](https://www.wkstats.com:10001/) Please note: This is only a partial upload. Not all portions of the site are live yet, so a lot of the menu links will give you a File Not Found error. I will populate the rest over the next few days.] I only have 10 APIv2 keys to test the site on, and I could use a lot more data to work with. Anyone willing …

---

<div class="post-metadata">

**Author:** ![miked0801](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/miked0801/32/4241_2.png) [@miked0801](https://community.wanikani.com/u/miked0801)\
**Post date:** [February 5, 2019, 4:27am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/16 "2019-02-05T04:27:53Z")

</div>

Ok that version does seem to show correct stats, though it still has the promised dead links. Ok, could to know that everything is working.

Thanks!

---

<div class="post-metadata">

**Author:** ![Kumirei](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/kumirei/32/480522_2.png) [@Kumirei](https://community.wanikani.com/u/Kumirei)\
**Post date:** [February 5, 2019, 5:06am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/17 "2019-02-05T05:06:09Z")

</div>

The old version of the stats site had to guess when you leveled up, which his why the level durations were not always accurate. With APIv2 it is now explicitly stated when you leveled up. The v2 stats site is not finished yet.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/wanikanicommunity/original/4X/6/2/a/62a8b0f4c59ff2c5b6651ffcf43531480b3e5297.png) [@system](https://community.wanikani.com/u/system)\
**Post date:** [February 5, 2020, 5:10am UTC](https://community.wanikani.com/t/wanikani-api-is-so-confused-by-my-account/35006/18 "2020-02-05T05:10:27Z")

</div>

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
