Skip to content

Cannot login to geocaching.com #110

@twlare

Description

@twlare

When calling pycaching.login(), you get the error "pycaching.errors.LoginFailedException: Cannot login to the site (probably wrong username or password)." This appears to be due to a change on the geocaching.com login website.

The fix is to change login() in geocaching.py to use the new POST data:
post = {
"UsernameOrEmail": username, # 13-oct-18 was "Username"
"Password": password,
token_field_name: token_value
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions