From e0afbcf40a625ac73160084c1885c4a57a9b3fad Mon Sep 17 00:00:00 2001 From: Witaut Bajaryn Date: Wed, 11 Feb 2026 15:30:03 +0100 Subject: [PATCH] AsyncRestSession: Fix handling JSONDecodeError for 404 The API returns HTML instead of JSON for 404 responses for nonexistent endpoints (e.g. `GET "/networks/{networkId}/appliance/firewall/multicastForwarding"`). `meraki.rest_session.RestSession` raises an `APIError` with `.status = 404` and `message` set to the first few bytes of the HTML and `"please wait a minute if the key or org was just newly created."` appended: `"