We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Shopify Storefront API Access Denied Error

Shopify Storefront API Access Denied Error

HeatStudiosLLC
Visitor
1 0 2

Hello, I'm currently developing a mobile application that utilizes Shopify's Storefront API to fetch and display product data on the mobile application using Xcode. After a ton of testing and revisions, I have ensured that I am using the correct store .myshopify  url, storefront access token, and have made sure all the necessary permissions are required, yet I'm still getting an Access Denied error:

Received data: {"errors":[{"message":"","extensions":{"code":"ACCESS_DENIED"}}]}

Parsed JSON: Optional(["errors": <__NSSingleObjectArrayI 0x60000006c450>(

{

    extensions =     {

        code = "ACCESS_DENIED";

    };

    message = "";

}

)

])

Error fetching products: The operation couldn’t be completed. (Failed to parse product data error -1.)

Received data: {"errors":[{"message":"","extensions":{"code":"ACCESS_DENIED"}}]}

Parsed JSON: Optional(["errors": <__NSSingleObjectArrayI 0x600000065940>(

{

    extensions =     {

        code = "ACCESS_DENIED";

    };

    message = "";

}

)

])

Error fetching products: The operation couldn’t be completed. (Failed to parse product data error -1.)

Any ideas on what I could try? Thank you.

Reply 1 (1)

gabrielvictoria
Shopify Partner
14 0 4

Any update on this? I got the same error, I'm trying to create a cart with private app and token (just server side requests).