Did you test directly on the developer hub?

Status and Error Codes
Responses from the API generally use standard RFC 9110 HTTP Status Codes. Some examples:
- 400: Bad Request - You did something wrong, for example, a malformed request or missing parameter
https://documentation.meraki.com/General_Administration/Other_Topics/Cisco_Meraki_Dashboard_API
I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.
Please, if this post was useful, leave your kudos and mark it as solved.