MadeBaruna / paimon-moe

Your best Genshin Impact companion! Help you plan what to farm with ascension calculator and database. Also track your progress with todo and wish counter.
https://paimon.moe
MIT License
1.38k stars 266 forks source link

Wish Data cannot be imported with error message. #415

Closed ganadist closed 1 year ago

ganadist commented 1 year ago

I tried to import wish data on Genshin Impact 3.6 But I've got this error message

Invalid data returned from API, try again later

Also, I can get this error message on browser js console

import.svelte:185 STARTING IMPORT {forceUpdate: false, tallySubmit: true}
import.svelte:226 100 {name: "Beginners' Wish", id: 'beginners'}
import.svelte:243 URL {origin: 'https://hk4e-api-os.hoyoverse.com', protocol: 'https:', username: '', password: '', host: 'hk4e-api-os.hoyoverse.com', …}
import.svelte:226 200 {name: 'Standard', id: 'standard'}
import.svelte:243 URL {origin: 'https://hk4e-api-os.hoyoverse.com', protocol: 'https:', username: '', password: '', host: 'hk4e-api-os.hoyoverse.com', …}
import.svelte:226 301 {name: 'Character Event', id: 'character-event'}
import.svelte:243 URL {origin: 'https://hk4e-api-os.hoyoverse.com', protocol: 'https:', username: '', password: '', host: 'hk4e-api-os.hoyoverse.com', …}

import.svelte:376 TypeError: Cannot read properties of undefined (reading 'id')
    at Se (import.svelte:347:51)
    at async Ce (import.svelte:197:60)
    at async HTMLButtonElement.Le (import.svelte:162:36)
Se @ import.svelte:376
await in Se (async)
Ce @ import.svelte:198
await in Ce (async)
Le @ import.svelte:164

import.svelte:209 invalid data
johnsonlin commented 1 year ago

having the same error in console.

jogerj commented 1 year ago

Resolved https://github.com/MadeBaruna/paimon-moe-api/commit/cdb70b60e4c415b2425cf477d9f2b9fd3f0d3a0d

ganadist commented 1 year ago

Thank you. I can import wish data now.