Skip to content

API Authentication Errors: 429 Rate Limiting Error & 403 Forbidden #83

@ScottBishop

Description

@ScottBishop

Check in lambda is failing due to 429 error - Too Many Requests. I don't have a lot of users, so I think this may be related to the API auth.

status_code=429 msg="Error.": SouthwestAPIError Traceback (most recent call last): File "/var/task/handlers/check_in.py", line 40, in main resp = swa.check_in(first_name, last_name, confirmation_number) File "/var/task/swa.py", line 136, in check_in response = _make_request("post", page, body) File "/var/task/swa.py", line 48, in _make_request response.status_code, msg)) exceptions.SouthwestAPIError: status_code=429 msg="Error."

This may or may not be related -- schedule check in receives this error:

status_code=403 msg="Forbidden": SouthwestAPIError Traceback (most recent call last): File "/var/task/handlers/schedule_check_in.py", line 35, in main first_name, last_name, confirmation_number File "/var/task/swa.py", line 73, in from_passenger_info params File 

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