Amazon Product API on Supabase Edge Functions: Two Limits, Not One
Run an Amazon Buy Box price-watch on Supabase Edge Functions, invoked on a schedule by pg_cron. retry.js needs no change at all; client.js needs exactly one line, reading the API key with Deno.env.get instead of process.env. The real traps: a scheduled call gets a silent 401 unless verify_jwt is explicitly off, and Supabase meters wall-clock duration and CPU time as two separate limits, so a CPU-cheap batch can still run out of real seconds.