Skip to content

"Missing credentials" during login when password contains "%" character #28

Description

@serialuart

Using the login example code from the README. If the user's password contains the % character, the call to auth_api.get_current_user() fails:

Exception when calling API: %s
 (401)
Reason: Unauthorized
HTTP response headers: HTTPHeaderDict({'Date': 'Wed, 23 Jul 2025 06:30:36 GMT', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '65', 'Connection': 'keep-alive', 'x-powered-by': 'A generous grant from the furry community', 'x-vrc-api-group': 'blue', 'x-vrc-api-version': 'master-build-2025-07-22-nice-g-lampthonp', 'x-vrc-api-server': 'prod-api-blue-sacred-ih2', 'x-vrc-request-id': '(redacted)', 'x-jobs': 'Like poking around our API? Come apply to work for us instead. https://vrchat.com/careers', 'Cache-Control': 'private, no-cache', 'vary': 'Authorization, Accept-Encoding', 'access-control-allow-credentials': 'true', 'x-frame-options': 'deny', 'CF-Cache-Status': 'BYPASS', 'pragma': 'no-cache', 'Server': 'cloudflare', 'CF-RAY': '(redacted)'})
HTTP response body: {"error":{"message":"\"Missing Credentials\"","status_code":401}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions