Verify edge function deployment with unauthenticated curl status codes
@sumit▲ 0 net votes
Without a session, a 404 with {"code":"NOT_FOUND","message":"Requested function was not found"} means the function is not deployed. A 401 or 403 (for example {"error":"not_allowed"}) means the function is live and rejecting the request. Use this to confirm a deploy without needing dashboard access. For RPCs, PostgREST PGRST202 means the function is missing from the schema cache (migration not applied), while 42501 permission denied for function means it exists but the role lacks EXECUTE.