Why isn't the admin API returning any results for my app?

This is the logs i can see on enabling verbose on curl

  • Connected to pubbl.myshopify.com (23.227.38.74) port 443 (#0)
  • ALPN: offers h2
  • ALPN: offers http/1.1
  • CAfile: /Users/predeep/anaconda3/ssl/cacert.pem
  • CApath: none
  • [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Server hello (2):
  • [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
  • [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Certificate (11):
  • [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, CERT verify (15):
  • [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Finished (20):
  • [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
  • [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Finished (20):
  • SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
  • ALPN: server accepted h2
  • Server certificate:
  • subject: C=US; ST=California; L=San Francisco; O=Cloudflare, Inc.; CN=myshopify.com
  • start date: Aug 23 00:00:00 2023 GMT
  • expire date: Aug 21 23:59:59 2024 GMT
  • subjectAltName: host “pubbl.myshopify.com” matched cert’s “*.myshopify.com”
  • issuer: C=US; O=Cloudflare, Inc.; CN=Cloudflare Inc ECC CA-3
  • SSL certificate verify ok.
  • Using HTTP2, server supports multiplexing
  • Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
  • h2h3 [:method: POST]
  • h2h3 [:path: /admin/api/2023-07/graphql.json]
  • h2h3 [:scheme: https]
  • h2h3 [:authority: pubbl.myshopify.com]
  • h2h3 [user-agent: curl/7.87.0]
  • h2h3 [accept: /]
  • h2h3 [content-type: application/json]
  • h2h3 [content-length: 189]
  • Using Stream ID: 1 (easy handle 0x14a00aa00)

POST /admin/api/2023-07/graphql.json HTTP/2
Host: pubbl.myshopify.com
user-agent: curl/7.87.0
accept: /
content-type: application/json
content-length: 189

  • We are completely uploaded and fine
  • [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
  • [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
  • old SSL session ID is stale, removing
    < HTTP/2 301
    < date: Wed, 03 Jan 2024 23:16:35 GMT
    < content-type: text/html; charset=utf-8
    < location: https://08d534.myshopify.com/admin/api/2023-07/graphql.json
    < x-sorting-hat-podid: 194
    < x-sorting-hat-shopid: 63097700547
    < referrer-policy: origin-when-cross-origin
    < x-frame-options: DENY
    < x-shopid: 63097700547
    < x-shardid: 194
    < strict-transport-security: max-age=7889238
    < set-cookie: request_method=POST; path=/; SameSite=Lax
    < server-timing: processing;dur=25
    < x-shopify-stage: production
    < content-security-policy: default-src ‘self’ data: blob: ‘unsafe-inline’ ‘unsafe-eval’ https://* shopify-pos://; block-all-mixed-content; child-src ‘self’ https:// shopify-pos://; connect-src ‘self’ wss:// https://*; frame-ancestors ‘none’; img-src ‘self’ data: blob: https:; script-src https://cdn.shopify.com https://cdn.shopifycdn.net https://checkout.shopifycs.com https://api.stripe.com https://mpsnare.iesnare.com https://appcenter.intuit.com https://www.paypal.com https://js.braintreegateway.com https://c.paypal.com https://maps.googleapis.com https://www.google-analytics.com https://v.shopify.com ‘self’ ‘unsafe-inline’ ‘unsafe-eval’; upgrade-insecure-requests; report-uri /csp-report?source%5Baction%5D=query&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fgraphql&source%5Bsection%5D=admin_api&source%5Buuid%5D=55673052-18b5-4a78-8363-d93a865df057
    < x-content-type-options: nosniff
    < x-download-options: noopen
    < x-permitted-cross-domain-policies: none
    < x-xss-protection: 1; mode=block; report=/xss-report?source%5Baction%5D=query&source%5Bapp%5D=Shopify&source%5Bcontroller%5D=admin%2Fgraphql&source%5Bsection%5D=admin_api&source%5Buuid%5D=55673052-18b5-4a78-8363-d93a865df057
    < x-dc: gcp-australia-southeast1,gcp-us-central1,gcp-us-central1
    < x-request-id: 55673052-18b5-4a78-8363-d93a865df057
    < cf-cache-status: DYNAMIC
    < report-to: {“endpoints”:[{“url”:“https://a.nel.cloudflare.com/report/v3?s=4DgYRHldUvG4hJfFbeGdY61W63cQj1d4EJGor9Xchg4YFw9y89g%2F1oy0ricopUAfwO%2BCMgK8Eri5w2C2e3WCx9ty7arQqQV%2B4w92U0GV5Dg5Y0CSQAxj7hzMtqyRY0MG51S0TxY%3D”}],“group”:“cf-nel”,“max_age”:604800}
    < nel: {“success_fraction”:0.01,“report_to”:“cf-nel”,“max_age”:604800}
    < server-timing: cfRequestDuration;dur=225.999832
    < server: cloudflare
    < cf-ray: 83fef34958d0572d-SYD
    < alt-svc: h3=“:443”; ma=86400
    <
  • Connection #0 to host pubbl.myshopify.com left intact