GraphQL Admin API uploadedImages and read_images scope

Highlighted
Shopify Partner
1 0 3

Hi, I'm in the process of developing an app.

I'm attempting to query the GraphQL Admin API with the following query:

    query GetImages {
        shop {
            uploadedImages {
                edges {
                    node {
                        id
                        originalSrc
                        altText
                    }
                }

                pageInfo {
                    hasNextPage
                    hasPreviousPage
                }
            }
        }
    }


I receive an access denied error, since the read_images scope has not been granted, as documented here. To remedy this I attempted to put this in my app's requested scopes when installing. This however leads to an error saying that the scope does not exist.


Please let me know which scope to request to access uploadedImages.

3 Likes
Highlighted
New Member
1 0 0

I have the same exact issue. It appears the read_images scope is protected.

 

Is this scope one which can be approved manually if we request? I do not know why it would be blocked for everybody in all cases, since the data seems not so sensitive.

0 Likes
Highlighted
New Member
2 0 0

any news?

0 Likes
Highlighted
New Member
1 0 0

I am still having the same issue as well. Has anyone found a workaround? Would not like to use an entirely separate CMS.

0 Likes