79541270

Date: 2025-03-28 11:21:28
Score: 1
Natty:
Report link

You're getting this error because in Next.js 13+ (App Router), params can be asynchronous in dynamic routes. To fix this, you need to await params before accessing its properties.

Wrong: const providerId = await context.params.providerId;

Fixed: const { providerId } = await context.params;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user25571070