'This app is not approved to access the Order object.' error on Development store

Shopify Partner
1 0 0

Hey there,
I am getting the following error: 

Error: This app is not approved to access the Order object.

on my local shopify app connected to a development store.

I've already requested 'Protected customer access data' on my 'Partner' dashboard for the app (I have not submitted them for review).
The scopes for my app as defined in the 'shopify.app.toml' file are:
scopes = "read_customers,read_draft_orders,read_orders,write_products"

I am simply trying to list orders with the following query in my remix app:

  const { admin } = await authenticate.admin(request);
  const response = await admin.graphql(
     query listOrders {
        orders(first: 10) {
          pageInfo {
          edges {
            node {
  const responseJson = await response.json();

It seems like I am following all of the guidelines.
What am I doing wrong?

Replies 0 (0)