route-handlers
1 trace
- updateTag can only be called from within a Server Action: use revalidateTag(tag, 'max') in Route HandlersYou replace a deprecated one-argument revalidateTag('posts') with updateTag('posts') in a Route Handler (for example a CMS webhook app/api/revalidate/route.ts) and it throws: updateTag can only be called from within a…