A 422 error in the Shovels API means a required parameter is missing from your request. The most common cause is querying permits without first resolving your address to a geo_id. Solution: Use the Address Search endpoint to get a geo_id, then use that geo_id in your permit query.Documentation Index
Fetch the complete documentation index at: https://docs.shovels.ai/llms.txt
Use this file to discover all available pages before exploring further.
Common Causes
Missing geo_id
If you query permits without including a geo_id:Invalid geo_id Format
If the geo_id format is incorrect or wasn’t obtained through address resolution.How to Fix
- Resolve the address first - Use the Address Search API to get a valid geo_id
- Check required parameters - Review the API documentation for required fields
- Review the error message - The JSON output helps identify what’s missing
