java.lang.RuntimeException: Could not get Private-channel for user: lib2k... Error: HTTPResponse[401: {"code": 0, "message": "401: Unauthorized"}]

GitHub | lib2k | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 9#269056269

    GitHub | 4 months ago | lib2k
    java.lang.RuntimeException: Could not get Private-channel for user: lib2k... Error: HTTPResponse[401: {"code": 0, "message": "401: Unauthorized"}]
  2. 0

    java error

    GitHub | 9 months ago | issueaccpost
    java.io.IOException: Resetting to invalid mark
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 10#274227687

    GitHub | 3 months ago | safetyguy14
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  5. 0

    The requested User blocks you

    GitHub | 4 months ago | FishMissile
    net.dv8tion.jda.exceptions.BlockedException: The requested User blocks you or disallows you otherwise from PMing him!

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. net.dv8tion.jda
      UserImpl.getPrivateChannel
      1. net.dv8tion.jda.entities.impl.UserImpl.getPrivateChannel(UserImpl.java:124)
      1 frame
    3. net.dirtydeeds.discordsoundboard
      ChatSoundBoardListener.onMessageReceived
      1. net.dirtydeeds.discordsoundboard.service.SoundPlayerImpl.moveToUserIdsChannel(SoundPlayerImpl.java:353)
      2. net.dirtydeeds.discordsoundboard.service.SoundPlayerImpl.playFileForEvent(SoundPlayerImpl.java:212)
      3. net.dirtydeeds.discordsoundboard.ChatSoundBoardListener.onMessageReceived(ChatSoundBoardListener.java:214)
      3 frames
    4. net.dv8tion.jda
      WebSocketClient.onTextMessage
      1. net.dv8tion.jda.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:184)
      2. net.dv8tion.jda.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:64)
      3. net.dv8tion.jda.handle.MessageReceivedHandler.handleDefaultMessage(MessageReceivedHandler.java:94)
      4. net.dv8tion.jda.handle.MessageReceivedHandler.handleInternally(MessageReceivedHandler.java:50)
      5. net.dv8tion.jda.handle.SocketHandler.handle(SocketHandler.java:38)
      6. net.dv8tion.jda.requests.WebSocketClient.handleEvent(WebSocketClient.java:596)
      7. net.dv8tion.jda.requests.WebSocketClient.onTextMessage(WebSocketClient.java:324)
      7 frames
    5. com.neovisionaries.ws
      ReadingThread.run
      1. com.neovisionaries.ws.client.ListenerManager.callOnTextMessage(ListenerManager.java:352)
      2. com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:233)
      3. com.neovisionaries.ws.client.ReadingThread.callOnTextMessage(ReadingThread.java:211)
      4. com.neovisionaries.ws.client.ReadingThread.handleTextFrame(ReadingThread.java:910)
      5. com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:693)
      6. com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:102)
      7. com.neovisionaries.ws.client.ReadingThread.run(ReadingThread.java:61)
      7 frames