Invalid payload string: 'utf-8' codec can't decode byte 0x8d in position 0: invalid start byte

For anyone facing this same issue, I found the solution here: Invalid access token payload, jwt encrypted with A256GCM