net.dv8tion.jda.exceptions.BlockedException: The requested User blocks you or disallows you otherwise from PMing him!

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by FishMissile
, 11 months ago
The requested User blocks you or disallows you otherwise from PMing him!
via GitHub by JoshCarlyle
, 11 months ago
The requested User blocks you or disallows you otherwise from PMing him!
net.dv8tion.jda.exceptions.BlockedException: The requested User blocks you or disallows you otherwise from PMing him!
at net.dv8tion.jda.entities.impl.PrivateChannelImpl.sendMessage(PrivateChannelImpl.java:102)
at net.dv8tion.jda.entities.impl.PrivateChannelImpl.sendMessage(PrivateChannelImpl.java:80)
at net.dirtydeeds.discordsoundboard.ChatSoundBoardListener.replyByPrivateMessage(ChatSoundBoardListener.java:327)
at net.dirtydeeds.discordsoundboard.ChatSoundBoardListener.onMessageReceived(ChatSoundBoardListener.java:97)
at net.dv8tion.jda.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:184)
at net.dv8tion.jda.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:64)
at net.dv8tion.jda.handle.MessageReceivedHandler.handleDefaultMessage(MessageReceivedHandler.java:94)
at net.dv8tion.jda.handle.MessageReceivedHandler.handleInternally(MessageReceivedHandler.java:50)
at net.dv8tion.jda.handle.SocketHandler.handle(SocketHandler.java:38)
at net.dv8tion.jda.requests.WebSocketClient.handleEvent(WebSocketClient.java:596)
at net.dv8tion.jda.requests.WebSocketClient.onTextMessage(WebSocketClient.java:324)
at com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)
at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:233)
at com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:211)
at com.neovisionaries.ws.client.ReadingThread.handleTextFrame(ReadingThread.java:910)
at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:693)
at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
at com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.