beemdevelopment / Aegis

A free, secure and open source app for Android to manage your 2-step verification tokens.

Home Page:https://getaegis.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I can't import my JSON File anymore...

opened this issue · comments

Hello,

i can't import my JSON Data in Import like before since I flashed LineageOS...It works on my other Stock Android Phone but I don't know why it don't work anymore or what to do...It says that an error did happen. Here is it:

com.beemdevelopment.aegis.importers.DatabaseImporterException: com.beemdevelopment.aegis.vault.VaultFileException: org.json.JSONException: Value <!doctype of type java.lang.String cannot be converted to JSONObject

Please help me, because I can't login anywhere anymore...And I need it daily, so it is important for me. I hope you can help me. Thanks!

Value <!doctype of type java.lang.String cannot be converted to JSONObject

This makes me think you're trying to import a html file.

Value <!doctype of type java.lang.String cannot be converted to JSONObject

This makes me think you're trying to import a html file.

Oh, as I said it is an JSON File which I did get, when exporting to save my Data. It worked everytime but I don't know why not anymore. It says: by reading the data an mistake happened...

I highly doubt it's an actual json file that has been exported by Aegis. Have you tried changing its extension to .html and open it manually? It's most likely a web page.

I found the Mistake haha! It was because I downloaded the JSON File from an wrong Browser! Happy that it worked again!