langgenius/dify · error · Error
Download marketplace package for ${getPluginId(pluginUniqueI
Error message
Download marketplace package for ${getPluginId(pluginUniqueIdentifier)} failed with ${response.status} ${response.statusText}. What it means
Error "Download marketplace package for ${getPluginId(pluginUniqueIdentifier)} failed with ${response.status} ${response.statusText}." thrown in langgenius/dify.
Source
Thrown at e2e/support/marketplace-plugins.ts:113
}
}
return { ok: false as const, reason: `Plugin install task did not finish within ${timeoutMs}ms.` }
}
const getMarketplaceDownloadUrl = (pluginUniqueIdentifier: string) => {
const url = new URL(
'/api/v1/plugins/download-url',
process.env.E2E_MARKETPLACE_API_URL || defaultMarketplaceApiUrl,
)
url.searchParams.set('unique_identifier', pluginUniqueIdentifier)
return url.toString()
}
const downloadMarketplacePluginPackage = async (pluginUniqueIdentifier: string) => {
const response = await fetch(getMarketplaceDownloadUrl(pluginUniqueIdentifier))
if (!response.ok) {
throw new Error(
`Download marketplace package for ${getPluginId(pluginUniqueIdentifier)} failed with ${response.status} ${response.statusText}.`,
)
}
return Buffer.from(await response.arrayBuffer())
}
const uploadMarketplacePluginPackage = async (
client: ConsoleClient,
pluginUniqueIdentifier: string,
) => {
const pkg = await downloadMarketplacePluginPackage(pluginUniqueIdentifier)
const fileName = `${getPluginId(pluginUniqueIdentifier).replaceAll('/', '-')}.difypkg`
const response = await client.workspaces.current.plugin.upload.pkg.post({
body: {
pkg: new File([Uint8Array.from(pkg)], fileName, { type: 'application/octet-stream' }),
},
})View on GitHub (pinned to ef8544b173)
When it happens
Trigger: Thrown at e2e/support/marketplace-plugins.ts:113 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of langgenius/dify@ef8544b173 (2026-08-12).
Data as JSON: /api/errors/e24c04980870310b.
Report an issue: GitHub.