#error: Publishable API key required in the request header: x-publishable-api-key. You can manage y

4 messages · Page 1 of 1 (latest)

true crane
#

I upgraded from medusa 2.1.0 to 2.6.0 and now i get in my nextjs frontend

http:    OPTIONS /store/products?region_id=reg_01XXXXXXXXXXXXXXXXXXx ← http://localhost:3000/ (400) - 3.330 ms
error:   Publishable API key required in the request header: x-publishable-api-key. You can manage your keys in settings in the dashboard.
MedusaError: Publishable API key required in the request header: x-publishable-api-key. You can manage your keys in settings in the dashboard.

did the sdk change or something? I'm confident my key is correct and the same nextjs config works on 2.1.0

warped cairn
tall urchin
#

Edit: yeah came across the same issue rolled back to 2.5.1 works fine.