CherryHQ/cherry-studio · error · Error
One or more Vertex AI publisher requests failed
Error message
One or more Vertex AI publisher requests failed
What it means
Error "One or more Vertex AI publisher requests failed" thrown in CherryHQ/cherry-studio.
Source
Thrown at src/main/ai/provider/listModels.ts:290
}
logger.warn('Skipping Vertex publisher model listing after request failure', {
providerId: provider.id,
publisher,
error: error instanceof Error ? error.message : String(error)
})
return null
}
})
)
if (options?.throwOnError && publisherModelGroups.some((g) => g === null)) {
if (firstPublisherError instanceof Error) {
throw firstPublisherError
}
if (firstPublisherError !== undefined) {
throw new Error(String(firstPublisherError))
}
throw new Error('One or more Vertex AI publisher requests failed')
}
const publisherModels = publisherModelGroups.filter((g) => g !== null).flat()
const listedModels = dedup(publisherModels, (model) => model.name).map((model) => {
const bareId = getVertexModelId(model.name)
const ownedBy = getVertexModelPublisher(model.name)
// MaaS models are served over the OpenAI-compatible endpoint, which requires the
// `{publisher}/{model}` id form even when Google is the publisher. Native Google
// models (Gemini/Gemma/embeddings) keep their bare id.
const publisherModelId = `${ownedBy}/${bareId}`
const apiModelId = isVertexMaasModelId(publisherModelId) ? publisherModelId : bareId
return toModel(apiModelId, provider, {
name: pickPreferredString([model.displayName, bareId]) || bareId,
description: model.description,
ownedBy
})
})View on GitHub (pinned to 726446b54c)
Solutions
- Review the per-publisher errors attached to this failure to find which publisher requests failed.
- Confirm the service account has aiplatform.models.list and the Vertex AI API is enabled in the project.
- Retry; transient failures across publishers often succeed on a second attempt.
Example fix
Enable the Vertex AI API: gcloud services enable aiplatform.googleapis.com --project=<project-id>, then retry listing models.
When it happens
Trigger: Vertex AI publisher model listing runs with throwOnError, at least one publisher request failed, and no underlying error object was captured to rethrow.
Common situations: A generic fallback when some publisher listing requests returned null (failed) but firstPublisherError was never set. Signals partial Vertex listing failure to callers that requested strict error propagation.
AI-assisted analysis of CherryHQ/cherry-studio@726446b54c (2026-08-12).
Data as JSON: /api/errors/65ec7eac303b5d25.
Report an issue: GitHub.