[X] I have checked for similar issues on the Issue-tracker.
[X] I have checked for PRs that might already address this issue.
Version of JDA
5.0.0-beta.17
Expected Behaviour
I want to handle the error response 50178 The user account must first be verified.
This error response is not existing in net.dv8tion.jda.api.requests.ErrorResponse so I create this issue. Please add it and give me feedback.
[ForkJoinPool.commonPool-worker-3] ERROR RestAction - RestAction queue returned failure: [ErrorResponseException] 50178: The user account must first be verified
net.dv8tion.jda.api.exceptions.ContextException
at net.dv8tion.jda.api.exceptions.ContextException.here(ContextException.java:54)
at net.dv8tion.jda.api.requests.Request.<init>(Request.java:77)
at net.dv8tion.jda.internal.requests.RestActionImpl.queue(RestActionImpl.java:197)
at work.cloudservice.commands.RecoverCommand.lambda$null$1(RecoverCommand.java:158)
at net.dv8tion.jda.api.requests.Request.lambda$onSuccess$0(Request.java:121)
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
General Troubleshooting
Version of JDA
5.0.0-beta.17
Expected Behaviour
I want to handle the error response 50178 The user account must first be verified. This error response is not existing in net.dv8tion.jda.api.requests.ErrorResponse so I create this issue. Please add it and give me feedback.
Code Example for Reproduction Steps
Code for JDABuilder or DefaultShardManagerBuilder used
Exception or Error