Skip to content

Catch invalid address lookup responses - #105

Merged
eifinger merged 1 commit into
mainfrom
fix/address-response-errors
Sep 30, 2026
Merged

eifinger merged 1 commit into
mainfrom
fix/address-response-errors

Conversation

@eifinger

Copy link
Copy Markdown
Owner

Summary

  • validate address lookup responses before consuming their JSON payload
  • expose Waze HTTP and malformed-response failures as WRCError instead of leaking JSONDecodeError
  • cover HTTP 403 and invalid JSON address lookup responses

This addresses the failure reported in home-assistant/core#183673 and home-assistant/core#183660. Coordinate routing remains operational; requests involving address resolution are affected by Waze returning non-JSON HTTP 403 responses.

Amp thread: https://ampcode.com/threads/T-01a0f156-dbf2-733d-b192-071947a07943

Amp-Thread-ID: https://ampcode.com/threads/T-01a0f156-dbf2-733d-b192-071947a07943
Co-authored-by: Kevin Stillhammer <kevin.stillhammer@tado.com>
@eifinger eifinger changed the title Fix invalid address lookup responses Catch invalid address lookup responses Sep 30, 2026
@eifinger eifinger added the bugfix Fix for an existing bug label Sep 30, 2026
@eifinger
eifinger merged commit f2a2b61 into main Sep 30, 2026
4 checks passed
@eifinger
eifinger deleted the fix/address-response-errors branch September 30, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fix for an existing bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants