Briefing

Function Run Logs Automatically Available in Dev Dashboard Based on Access Scopes

e-commerce
Shopify

Request the scopes your app needs during installation so that function run logs appear automatically in the Dev Dashboard.

What to do now

Request the necessary access scopes during app installation, including any protected customer data scopes, so that function run logs appear automatically in the Dev Dashboard.

Summary

Shopify has removed the need for merchants to share function run logs manually; the logs are now automatically visible in the Dev Dashboard whenever your app has the required access scopes. The visibility of a log is determined by the scopes needed to read the fields referenced in the function’s input query via the GraphQL Admin API. If your app has those scopes, the run details appear without any additional merchant action. To ensure visibility, request the necessary scopes during installation or authentication, including protected customer data scopes for customer fields. For temporary or debugging access, you can request optional scopes that merchants can grant or revoke without reinstalling the app. The required scopes are defined by the function’s input query, so review the query to determine which scopes are needed. Once the scopes are granted, the logs will automatically show the next time you view them in the Dev Dashboard.

Key changes

  • Function run logs are now automatically visible in the Dev Dashboard when the app has required scopes.
  • Log visibility is determined by the scopes needed to read fields in the function’s input query via GraphQL Admin API.
  • No merchant action is required to share logs.
  • Required scopes are defined by the function’s input query.
  • Protected customer data scopes are needed for customer fields.
  • Optional scopes can be requested dynamically for debugging without reinstalling.
  • Logs appear the next time the app accesses the Dev Dashboard after scopes are granted.
  • Developers must request scopes during installation or authentication.

Affects

e-com-customers

Customer impact

Analyzing matches…

Ask about this story

Impact on an agency? Which customers? Compare historically Risks of waiting