post purchase extension proxy issue

Topic summary

A developer is encountering issues using an app proxy within a post-purchase extension. The proxy works correctly when accessed directly via browser but fails when called from the extension code.

Technical Setup:

  • Proxy configured at /api/proxy/ with verification middleware
  • App proxy subpath set to proxy-1 in settings
  • Extension attempts to fetch from ${APP_URL}/apps/proxy-1
  • Request includes authorization token and standard headers

Current Problems:

  • Network request from extension returns an error response
  • When attempting to publish using [capabilities.extension] (as per documentation), deployment fails with validation error: “Expected array, received object” at path ["extensions"]
  • Developer tried using just [capabilities] instead, which didn’t crash publish but cannot verify if network access actually works

Key Question:
Another user asks whether “network access” has been enabled in the partner dashboard, suggesting this may be a permissions/configuration issue rather than a code problem.

Status: Unresolved; awaiting clarification on dashboard settings and proper capabilities configuration.

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

Have you enabled “Allow network access” on your partner dashboard?