JSONObject["volume"] is not an int.
See original GitHub issueSometimes when sending a volume opcode this exception gets internally thrown https://sentry.io/share/issue/a8e1284d7e314fd09ac0eabc6cb53120/ https://sentry.io/share/issue/c9f238c5786448b894aad74e7a4ae868/ The json payload is
{"volume":100,"op":"volume","guildId":"451579004370026511"}
I haven’t been able to reliably reproduce this myself but I’ll update this issue when I find a way to reproduce it
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Error invalid int when parsing JSONObject into an integer
It looks like the issue is your json value is a number plus additional spaces which Integer.parseInt does not handle. Try Integer.
Read more >The given data was not valid JSON. | Apple Developer Forums
The error message is accurate. In your example data, the token NULL is not valid JSON. It's case-sensitive so it needs to be...
Read more >Json Geometry Hierarchy Map - Read the Docs
The encoded value is a Json object with two entries: the header Json object ... the Acts::GeometryIdentifier is specified by name and stored...
Read more >JSONObject - Android Developers
When the requested type is an int, other Number types will be coerced using ... Although null cannot be coerced, the sentinel value...
Read more >An Introduction to JSON - DigitalOcean
JSON — short for JavaScript Object Notation — is a format for sharing data. As its name suggests, JSON is derived from the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually, it seems that I have configured one of my lavalink nodes to use the wrong dsn. This is what someone is sending and I know who to yell at, sorry for wasting your time
Have you tried grep?
grep -B 2 "is not an int" spring*