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 lib2k
, 1 year ago
Could not get Private-channel for user: lib2k... Error: HTTPResponse[401: {"code": 0, "message": "401: Unauthorized"}]
java.lang.RuntimeException: Could not get Private-channel for user: lib2k... Error: HTTPResponse[401: {"code": 0, "message": "401: Unauthorized"}]	at net.dv8tion.jda.entities.impl.UserImpl.getPrivateChannel(UserImpl.java:124)	at net.dirtydeeds.discordsoundboard.service.SoundPlayerImpl.moveToUserIdsChannel(SoundPlayerImpl.java:353)	at net.dirtydeeds.discordsoundboard.service.SoundPlayerImpl.playFileForEvent(SoundPlayerImpl.java:212)	at net.dirtydeeds.discordsoundboard.ChatSoundBoardListener.onMessageReceived(ChatSoundBoardListener.java:214)	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)