I’m in the customer account extension and am trying to use the mutation of storefrontCustomerAccessTokenCreate storefrontCustomerAccessTokenCreate - Customer API , but I am getting a 401 unauthorized error. Are there certain scopes or things I need to change? Or is there something wrong with my code?
From the sound of it you do not have the correct authentication credentials.
There’s also this if it may be helpful…
So I realized the issue is my preview in general is getting this error. I even deleted all my code leaving just console.log(“hi”) but my customer account extension keeps telling me there’s a 401 error. The target is on order status right now and the order status text won’t render either.
Hi Amelia,
Are you still seeing this issue?
I am not, thank you for checking!