[Python] pypresence throws an error when using large_image

Discussão em 'Python' iniciado por Stack, Janeiro 24, 2025.

  1. Stack

    Stack Membro Participativo

    I was using pypresence a few days ago and didn't have any issues, then all of a sudden today it throws an error with the same code. I have discovered that the issue comes from when I use large/small_text/image. I don't know why this is and if anyone has an explanation that would be greatly appreciated. The error I get from the code is pypresence.exceptions.ServerError: Unknown error. It isn't very helpful and I have been unsuccessful when looking for solutions online.

    An example here (Throws an error):

    RPC.update(
    activity_type=ActivityType.LISTENING,
    details="Starting up",
    state="Waiting for connection",
    large_image="image1",
    )


    A working example:

    RPC.update(
    activity_type=ActivityType.LISTENING,
    details="Starting up",
    state="Waiting for connection",
    )

    Continue reading...

Compartilhe esta Página