Skip to content
This repository was archived by the owner on Aug 23, 2025. It is now read-only.
This repository was archived by the owner on Aug 23, 2025. It is now read-only.

"invalid API key" with api_version="1.2.2" and secure=True #8

@brettatoms

Description

@brettatoms

This

smug = SmugMug(api_key=API_KEY, api_version="1.2.2", secure=True, app_name=APP_NAME)
smug.login_withPassword(APIKey=API_KEY, EmailAddress=USER, Password=PASSWORD)
albums = smug.albums_get()

always give the following error:

smugpy.SmugMugException: SmugMug API Error for method smugmug.albums.get: (18) invalid API key

If you create the SmugMug object with secure=False it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions