I created the remix app and dev store according to the documentation.
I save the accesToken that I get when installing the application
export const loader = async ({ request }) => {
const { admin, session } = await authenticate.admin(request);
await saveAuth({
shop: session.shop,
accessToken: session.accessToken
})
return null;
};
Now I want to use this token to get store products. According to the documentation, I make a request:
I add the token according to the documentation
Can you please tell me why I’m getting an error?
401 Unauthorized
"“errors”: “[API] Invalid API key or access token (unrecognized login or wrong password)”

