You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked for similar issues on the Issue-tracker.
I have checked for PRs that might already address this issue.
Version of JDA
5.2.1
Expected Behaviour
this message raises the following exception on 5.2.1:
2024-12-20 11:44:57 [MessageHistory] [WARN] Encountered exception when retrieving messages
java.lang.IllegalArgumentException: UNKNOWN_MESSAGE_TYPE
at net.dv8tion.jda.internal.entities.EntityBuilder.createMessage0(EntityBuilder.java:1736)
at net.dv8tion.jda.internal.entities.EntityBuilder.createMessageWithChannel(EntityBuilder.java:1678)
at net.dv8tion.jda.api.entities.MessageHistory.lambda$retrievePast$1(MessageHistory.java:207)
at net.dv8tion.jda.internal.requests.RestActionImpl.handleSuccess(RestActionImpl.java:307)
at net.dv8tion.jda.internal.requests.RestActionImpl.handleResponse(RestActionImpl.java:285)
at net.dv8tion.jda.api.requests.Request.handleResponse(Request.java:306)
at net.dv8tion.jda.internal.requests.Requester$WorkTask.handleResponse(Requester.java:442)
at net.dv8tion.jda.internal.requests.Requester$WorkTask.access$300(Requester.java:378)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:245)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:157)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:140)
at net.dv8tion.jda.internal.requests.Requester$WorkTask.execute(Requester.java:406)
at net.dv8tion.jda.api.requests.SequentialRestRateLimiter$Bucket.execute(SequentialRestRateLimiter.java:478)
at net.dv8tion.jda.api.requests.SequentialRestRateLimiter$Bucket.run(SequentialRestRateLimiter.java:518)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:831)
Code Example for Reproduction Steps
stackalreadyprovided
Code for JDABuilder or DefaultShardManagerBuilder used
blah
Exception or Error
java.lang.IllegalArgumentException: UNKNOWN_MESSAGE_TYPE
at net.dv8tion.jda.internal.entities.EntityBuilder.createMessage0(EntityBuilder.java:1736)
at net.dv8tion.jda.internal.entities.EntityBuilder.createMessageWithChannel(EntityBuilder.java:1678)
at net.dv8tion.jda.api.entities.MessageHistory.lambda$retrievePast$1(MessageHistory.java:207)
at net.dv8tion.jda.internal.requests.RestActionImpl.handleSuccess(RestActionImpl.java:307)
at net.dv8tion.jda.internal.requests.RestActionImpl.handleResponse(RestActionImpl.java:285)
at net.dv8tion.jda.api.requests.Request.handleResponse(Request.java:306)
at net.dv8tion.jda.internal.requests.Requester$WorkTask.handleResponse(Requester.java:442)
at net.dv8tion.jda.internal.requests.Requester$WorkTask.access$300(Requester.java:378)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:245)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:157)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:140)
at net.dv8tion.jda.internal.requests.Requester$WorkTask.execute(Requester.java:406)
at net.dv8tion.jda.api.requests.SequentialRestRateLimiter$Bucket.execute(SequentialRestRateLimiter.java:478)
at net.dv8tion.jda.api.requests.SequentialRestRateLimiter$Bucket.run(SequentialRestRateLimiter.java:518)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:831)
The text was updated successfully, but these errors were encountered:
General Troubleshooting
Version of JDA
5.2.1
Expected Behaviour
this message raises the following exception on 5.2.1:
2024-12-20 11:44:57 [MessageHistory] [WARN] Encountered exception when retrieving messages
java.lang.IllegalArgumentException: UNKNOWN_MESSAGE_TYPE
at net.dv8tion.jda.internal.entities.EntityBuilder.createMessage0(EntityBuilder.java:1736)
at net.dv8tion.jda.internal.entities.EntityBuilder.createMessageWithChannel(EntityBuilder.java:1678)
at net.dv8tion.jda.api.entities.MessageHistory.lambda$retrievePast$1(MessageHistory.java:207)
at net.dv8tion.jda.internal.requests.RestActionImpl.handleSuccess(RestActionImpl.java:307)
at net.dv8tion.jda.internal.requests.RestActionImpl.handleResponse(RestActionImpl.java:285)
at net.dv8tion.jda.api.requests.Request.handleResponse(Request.java:306)
at net.dv8tion.jda.internal.requests.Requester$WorkTask.handleResponse(Requester.java:442)
at net.dv8tion.jda.internal.requests.Requester$WorkTask.access$300(Requester.java:378)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:245)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:157)
at net.dv8tion.jda.internal.requests.Requester.execute(Requester.java:140)
at net.dv8tion.jda.internal.requests.Requester$WorkTask.execute(Requester.java:406)
at net.dv8tion.jda.api.requests.SequentialRestRateLimiter$Bucket.execute(SequentialRestRateLimiter.java:478)
at net.dv8tion.jda.api.requests.SequentialRestRateLimiter$Bucket.run(SequentialRestRateLimiter.java:518)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:831)
Code Example for Reproduction Steps
Code for JDABuilder or DefaultShardManagerBuilder used
blah
Exception or Error
The text was updated successfully, but these errors were encountered: