# Error importing mnemosyne cards to anki

**URL:** <https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420>\
**Category:** Help\
**Created:** [September 13, 2024, 8:45pm UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420 "2024-09-13T20:45:34Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![flaneige](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@flaneige](https://forums.ankiweb.net/u/flaneige)\
**Post date:** [September 13, 2024, 8:45pm UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/1 "2024-09-13T20:45:34Z")

</div>

Hello  
Just starting to use Anki. I tried to import cards from Mnemosyne but I got the error message :  
Error: 500: JsonError { info: “invalid value: integer `2172355200`, expected i32 at line 1 column 50592” }  
What can I do ?  
Thanks

---

<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:** [September 13, 2024, 9:53pm UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/2 "2024-09-13T21:53:14Z")

</div>

What kind of file are you importing? Is it a Mnemosyne db? [Importing - Anki Manual](https://docs.ankiweb.net/importing/intro.html)

There was a fix to a similar issue a few months ago that should be included in the current release. You may need to upgrade to 24.06 (latest build) to use it.

> [@Issue importing Mnemosyne cards into Anki](https://forums.ankiweb.net/t/issue-importing-mnemosyne-cards-into-anki/44757):
>
> Hello - I’d like to import a Mnemosyne 2.73 .db file (~100k cards) into Anki, but I keep getting this error: 500: JsonError { info: “invalid type: floating point 1736293344.5096483, expected i32 at line 1 column 8848” } Can anyone help me with this problem? Also, assuming it is still possible to import Mnemosyne cards into Anki, is there a way to maintain the scheduling data? I have been learning these cards for years and would really prefer to not have to start from scratch. Thanks!

---

<div class="post-metadata">

**Author:** ![flaneige](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@flaneige](https://forums.ankiweb.net/u/flaneige)\
**Post date:** [September 14, 2024, 7:03am UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/3 "2024-09-14T07:03:58Z")

</div>

Yes, it is a Mnemosyne.db file  
I have 24.06  
I successfully imported a small file (5 cards), but the sounds are not working.  
The file with the error has 6511 cards

---

<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:** [September 14, 2024, 9:37am UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/4 "2024-09-14T09:37:43Z")

</div>

Can you share the file with me privately, via something like a Google Drive ‘anyone with link can view’ link in a private message or on [anki.tenderapp.com](http://anki.tenderapp.com)?

---

<div class="post-metadata">

**Author:** ![flaneige](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@flaneige](https://forums.ankiweb.net/u/flaneige)\
**Post date:** [September 14, 2024, 11:35am UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/5 "2024-09-14T11:35:28Z")

</div>

Here is the link  
[https://drive.google.com/file/d/1y2HstqpZVTwX1QYZvFh15ONnc\_dFcFXD/view?usp=sharing](https://drive.google.com/file/d/1y2HstqpZVTwX1QYZvFh15ONnc_dFcFXD/view?usp=sharing)

The Japonais.db file was succesfully imported but no sounds  
The Anglais.db file cannot be imported  
Thanks

---

<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:** [September 20, 2024, 5:47am UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/6 "2024-09-20T05:47:49Z")

</div>

Sorry, could you please use ‘anyone with a link can view’? It’s currently asking me to request access. You can share the link with me privately so that others won’t see.

---

<div class="post-metadata">

**Author:** ![flaneige](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@flaneige](https://forums.ankiweb.net/u/flaneige)\
**Post date:** [September 20, 2024, 6:25am UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/7 "2024-09-20T06:25:19Z")

</div>

Is [this link](https://drive.google.com/file/d/1y2HstqpZVTwX1QYZvFh15ONnc_dFcFXD/view?usp=sharing) ok ?  
Thank you

---

<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:** [September 20, 2024, 6:42am UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/8 "2024-09-20T06:42:17Z")

</div>

Thanks, I was able to grab the file. I’ll fix the importing issue in a future update; for now, ~~deleting your ‘ampoule’ card in Mnemosyne should fix the problem.~~ Actually, sorry, that won’t help, as there are multiple cards with the same problem. I’ll post a follow-up.

Media files won’t work until you manually copy them into Anki’s media folder. [Managing Files - Anki Manual](https://docs.ankiweb.net/files.html#file-locations)

---

<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:** [September 20, 2024, 6:47am UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/9 "2024-09-20T06:47:07Z")

</div>

The issue is caused by dates \> 2038 in your Mnemosyne file. If you’re ok with bringing them forward, you can work around the problem by now. Using a program like `sqlitebrowser` on your .db file, you can run the following query:

```auto
update cards set next_rep = 2100000000 where next_rep > 2100000000;

```

---

<div class="post-metadata">

**Author:** ![flaneige](https://avatars.discourse-cdn.com/v4/letter/f/7bcc69/32.png) [@flaneige](https://forums.ankiweb.net/u/flaneige)\
**Post date:** [September 20, 2024, 9:43am UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/10 "2024-09-20T09:43:32Z")

</div>

I was able to import the file and add the media files  
Thanks a lot

---

<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:** [October 20, 2024, 9:43am UTC](https://forums.ankiweb.net/t/error-importing-mnemosyne-cards-to-anki/49420/11 "2024-10-20T09:43:50Z")

</div>

Closed on October 20, 2024, 9:43am UTC

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