Skip to content

Fix "NoneType" error in Lambda logs#99

Merged
camdroid merged 1 commit into
asmbly-makerspace:mainfrom
camdroid:fix_none
Jun 2, 2026
Merged

Fix "NoneType" error in Lambda logs#99
camdroid merged 1 commit into
asmbly-makerspace:mainfrom
camdroid:fix_none

Conversation

@camdroid

@camdroid camdroid commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

The alta-open-update lambda is throwing a ton of errors around this line

  • somehow, neon_response.get('customParameters' {}) seems to be returning a None value, rather than either a real result or an empty dictionary.

I'm not sure exactly under which conditions we'll see this happen, but this diff should prevent it from causing the lambda to error out. This may have prevented a couple members' alta open access from renewing - see the following Slack thread for details: https://asmbly-makerspace.slack.com/archives/C0220TMEW8G/p1780068969532709

The alta-open-update lambda is throwing a ton of errors around this line
- somehow, `neon_response.get('customParameters' {})` seems to be
returning a None value, rather than either a real result or an empty
dictionary.

I'm not sure exactly under which conditions we'll see this happen, but
this diff should prevent it from causing the lambda to error out. This
may have prevented a couple members' alta open access from renewing -
see the following Slack thread for details: https://asmbly-makerspace.slack.com/archives/C0220TMEW8G/p1780068969532709
@camdroid camdroid merged commit c92fd55 into asmbly-makerspace:main Jun 2, 2026
1 check passed
@camdroid camdroid deleted the fix_none branch June 2, 2026 23:20
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

Successfully merging this pull request may close these issues.

1 participant