# Keep getting "Bad Request" while learning a deck in Ankiweb

**URL:** https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104
**Category:** Syncing & AnkiWeb
**Created:** [May 21, 2024, 12:18pm UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104 "2024-05-21T12:18:07Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ben22](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@ben22](https://forums.ankiweb.net/u/ben22)
#### Post date: [May 21, 2024, 12:18pm UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104/1 "2024-05-21T12:18:07Z")

</div>

I am learning a deck on Anki Web. The deck I am learning is a filtered deck derived from another. Often when I click the the “Easy” button, I get this:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/5/5/552ab8c74d1cfdcf2df930d37d6b3c068f5fec3c.png)

Then I have to refresh the page, often finding that some of the last cards I learned come up again as if the progress has been set back. The error message only seems to pop up when I click the Easy button.

FYI Here is the details regarding the filtered deck:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/a/2/a2a1fa6defd2787c61c8157a5233a042f99f71ae.png)

And here are details the filtered deck is based on:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/2/5/25f585ec6b3b8525bab22f20d5bd7c70c57571d1.png)

Extra details:

- I am using Chrome (most up to date) on Ubuntu
- I have tried clearing cookies and it still happens

---

<div class="post-metadata">

### Author: ![Danika\_Dakika](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/danika_dakika/32/17815_2.png) [@Danika\_Dakika](https://forums.ankiweb.net/u/Danika_Dakika)
#### Post date: [May 22, 2024, 4:46am UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104/2 "2024-05-22T04:46:42Z")

</div>

This came up a few months ago too. The primary post seemed to be an FSRS bug, which wouldn’t be your issue. But another user posted about what helped them –

> [@Ankiweb : "Bad Request"](https://forums.ankiweb.net/t/ankiweb-bad-request/37556/4):
>
> I would sometimes get an error like this if I was reviewing a card right at the end of Anki’s day. In Tools / Preferences / Review, you have “Next day starts at: \_\_\_\_\_ hours past midnight”. So if I started reviewing a card a few seconds before the end of a day, and then marked it Good a few seconds after the end of the day, then this error would appear. If by any chance this is what happened to you, then the solution might to be change “Next day starts” to some time in the middle of the night …

---

<div class="post-metadata">

### Author: ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)
#### Post date: [May 22, 2024, 10:32am UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104/3 "2024-05-22T10:32:03Z")

</div>

If you refresh the page and go through the same cards again, does answering Easy the second time result in the same error, or does it work the second time?

---

<div class="post-metadata">

### Author: ![ben22](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@ben22](https://forums.ankiweb.net/u/ben22)
#### Post date: [May 22, 2024, 11:15am UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104/4 "2024-05-22T11:15:19Z")

</div>

yes it usually always works the second time (I can’t recall a time where it hasn’t).

Also some insight: When I press any of the other buttons (aside from Easy), the respective card always stays assigned to the filtered deck in Learn mode, regardless of how many times I come across it and click a non-easy button (I’m not sure how/why this works like this; I’m sure you have better understanding around this). When I press Easy for a card (and it works without error), it is assigned to the underlying deck in Review mode.

So the problem may have some thing to do with that switching of decks?

---

<div class="post-metadata">

### Author: ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)
#### Post date: [May 23, 2024, 9:31am UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104/5 "2024-05-23T09:31:26Z")

</div>

The error message unfortunately doesn’t reveal the problem, so ideally, I’d like to be able to reproduce this issue. I tried running through a few hundred of your cards in a copy of your deck, but couldn’t seem to trigger it, so there may be going on here - perhaps it depends on the answer you give prior to rating easy, or the speed at which you’re answering. I have some updates I need to push out to AnkiWeb soon, so it might be worth waiting to see if they help - I’ll post back here once the update has been done.

---

<div class="post-metadata">

### Author: ![ben22](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@ben22](https://forums.ankiweb.net/u/ben22)
#### Post date: [May 23, 2024, 3:41pm UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104/6 "2024-05-23T15:41:27Z")

</div>

this issue hasn’t happened for a day or two at the moment, so it seems to be intermittent

---

<div class="post-metadata">

### Author: ![ben22](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@ben22](https://forums.ankiweb.net/u/ben22)
#### Post date: [June 3, 2024, 10:03pm UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104/7 "2024-06-03T22:03:08Z")

</div>

I managed to catch some trace in chrome while it happened this time, dno if this means anything to you?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/3X/6/9/69f26b1d33cfe46fe32778168fea114a95672073.png)

---

<div class="post-metadata">

### Author: ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)
#### Post date: [June 7, 2024, 4:17am UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104/8 "2024-06-07T04:17:33Z")

</div>

In this case I’m afraid that doesn’t help, as I could already see the error on the server end - but not exactly what is causing it. In the mean time, refreshing the page should allow you to continue studying, and it shouldn’t cause any permanent harm.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/1X/8f1279ababc5879d54e4838989f606cfe55af8c7.jpeg) [@system](https://forums.ankiweb.net/u/system)
#### Post date: [July 7, 2024, 4:17am UTC](https://forums.ankiweb.net/t/keep-getting-bad-request-while-learning-a-deck-in-ankiweb/45104/9 "2024-07-07T04:17:47Z")

</div>

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