Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brettatoms opened this issue Dec 15, 2013 · 3 comments
Open

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

brettatoms opened this issue Dec 15, 2013 · 3 comments

Comments

@brettatoms
Copy link

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.

@chrishoffman
Copy link
Owner

I am able to recreate the issue as you reported it. I can confirm when I manually run these methods outside of this library that this same behavior does not occur. I will have to dig into this one a little more.

@wreleven
Copy link

wreleven commented Oct 5, 2015

Did this issue get resolved? or is there a work around?

@wreleven
Copy link

wreleven commented Oct 6, 2015

To clarify I'm only asking since te as of Oct 15 they're forcing secure urls. I've attempted to switch the secure flag but I'm running into this same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants