BobbyESP / Spowlo

A Spotify songs downloader for Android made with Jetpack Compose, Material You and the spotDL Python library
https://t.me/spowlo_chatroom
GNU General Public License v3.0
1.03k stars 23 forks source link

[App crash] #259

Open sweatyhands99 opened 1 month ago

sweatyhands99 commented 1 month ago

Checklist

Describe the bug

app crashes at launch

To Reproduce

No response

Error reports

kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 0: Expected start of the array '[', but had '{' instead at path: $ JSON input: {"message":"API rate limit exc..... at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:24) at kotlinx.serialization.json.internal.JsonExceptionsKt.JsonDecodingException(JsonExceptions.kt:32) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail(AbstractJsonLexer.kt:598) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$default(AbstractJsonLexer.kt:596) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json(AbstractJsonLexer.kt:233) at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json$default(AbstractJsonLexer.kt:228) at kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken(AbstractJsonLexer.kt:225) at kotlinx.serialization.json.internal.StringJsonLexer.consumeNextToken(StringJsonLexer.kt:74) at kotlinx.serialization.json.internal.StreamingJsonDecoder.beginStructure(StreamingJsonDecoder.kt:102) at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(CollectionSerializers.kt:29) at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(CollectionSerializers.kt:43) at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:69) at kotlinx.serialization.json.Json.decodeFromString(Json.kt:107) at com.bobbyesp.spowlo.utils.UpdateUtil$getLatestRelease$2$1.onResponse(UpdateUtil.kt:331) at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:539) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) at java.lang.Thread.run(Thread.java:1012)

Screenshots & Screen Records

Screenshot_20241019-150301_Spowlo

Device info

No response

Additional context

No response

ZacSpongeStudent commented 1 month ago

Same issue here

BobbyESP commented 1 month ago

This happens when trying to search for an update on GitHub. I'm already aware of this, thanks for the report anyways! Will be fixed on Spowlo 2.0.0

ZacSpongeStudent commented 3 weeks ago

[heart] Zachary Spongberg reacted to your message:


From: Gabriel Fontán @.> Sent: Saturday, October 19, 2024 12:17:18 PM To: BobbyESP/Spowlo @.> Cc: Zachary Spongberg @.>; Comment @.> Subject: Re: [BobbyESP/Spowlo] [App crash] (Issue #259)

This happens when trying to search for an update on GitHub. I'm already aware of this, thanks for the report anyways! Will be fixed on Spowlo 2.0.0

— Reply to this email directly, view it on GitHubhttps://github.com/BobbyESP/Spowlo/issues/259#issuecomment-2423803232, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BH7UQ5UQSDPSZ5KL46PGT7DZ4JEU5AVCNFSM6AAAAABQHJMEZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTHAYDGMRTGI. You are receiving this because you commented.Message ID: @.***>