Marketing activities empty list

Topic summary

A developer is unable to retrieve marketing events/activities data from their Shopify store, receiving empty results when querying via both REST and GraphQL endpoints using the shopify_python_api library.

Testing Results:

  • GraphiQL app: Query works successfully and returns data
  • Postman: Same query returns an internal server error (500)
  • Python API library: Returns empty arrays/lists

The developer has confirmed their API key has the correct scopes and shows available API rate limits, indicating basic authentication is working.

Troubleshooting Direction:
A community member suggests comparing permission scopes between the working GraphiQL app and the developer’s custom application, as the discrepancy between GraphiQL success and Postman/Python failures points to a potential authentication or configuration issue rather than a data availability problem.

Status: Unresolved - awaiting verification of scope/permission alignment between applications.

Summarized with AI on November 13. AI used: claude-sonnet-4-5-20250929.

Thanks for your response. When using the graphiql_app it works and I see data

But when making a request via postman the very same query gives me an internal server error. Shouldn’t I be able to access this data?

"message": "Internal error. Looks like something went wrong on our end.\nRequest ID: f3186755-dc01-4f77-87b1-32fd452b77b5 (include this in support requests).",

"extensions": {

"code": "INTERNAL_SERVER_ERROR",

"requestId": "f3186755-dc01-4f77-87b1-32fd452b77b5"

}