Unable to retrieve agent metadata using the Agent pseudo metadata type
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia riproducendo l’errore con sf project retrieve start --metadata "Agent:CR_Agent" in un progetto nuovo e analizza il punto di ingresso per il recupero dei metadati del plugin deploy-retrieve. Confronta il tipo di pseudo-metadati Agent con la documentazione collegata sui metadati Agent e gli avvisi SOAP API segnalati. Il lavoro è completato quando un Employee Agent può essere recuperato nel progetto locale senza l’errore EPIPE.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
I'm trying to retrieve agent metadata via `sf project retrieve start --metadata "Agent:<Agent_Name>" but nothing is being retrieved. Instead I'm seeing an EPIPE error.
Steps To Reproduce
- Create a new Employee Agent
- Try to retrieve this agent in a fresh sf project from the cli.
Expected result
I'm expecting to have the agent metadata described in https://developer.salesforce.com/docs/einstein/genai/references/agents-metadata-tooling?utm_source=chatgpt.com retrieved to my local project.
Actual result
This is the output I'm seeing:
~/C/sfdc on develop ⨯ sf project retrieve start --metadata "Agent:CR_Agent" 09:07:17
────────────── Retrieving Metadata ──────────────
Retrieving v64.0 metadata from [email protected] using the v65.0 SOAP API
✔ Preparing retrieve request 8ms
✘ Sending request to org 6m 6.77s
◼ Waiting for the org to respond
◼ Done
Status: ✘
Elapsed Time: 6m 6.78s
Error (EPIPE): request to https://x.sandbox.my.salesforce.com/services/Soap/m/65.0 failed, reason: write EPIPE
Warning: Unable to find type MktDataConnectionParam in registry
Warning: Unable to find type MktDataConnectionParam in registry
Warning: Unable to find type PolicyRuleDefinitionSet in registry
Warning: Unable to find type PolicyRuleDefinition in registry
Warning: Unable to find type MktDataConnectionParam in registry
Warning: Unable to find type MktDataConnectionParam in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
Warning: Unable to find type ExternalDataTranField in registry
⋊> ~/C/sfdc on develop ⨯
System Information
CLI:
@salesforce/cli/2.106.6 darwin-arm64 node-v22.19.0
Plugin Version:
@oclif/plugin-autocomplete 3.2.34 (core)
@oclif/plugin-commands 4.1.32 (core)
@oclif/plugin-help 6.2.32 (core)
@oclif/plugin-not-found 3.2.67 (core)
@oclif/plugin-plugins 5.4.46 (core)
@oclif/plugin-search 1.2.28 (core)
@oclif/plugin-update 4.7.4 (core)
@oclif/plugin-version 2.2.32 (core)
@oclif/plugin-warn-if-update-available 3.1.46 (core)
@oclif/plugin-which 3.2.39 (core)
@salesforce/cli 2.106.6 (core)
@salesforce/lwc-dev-server 2.11.0 (link) /opt/homebrew/lib/node_modules/@salesforce/lwc-dev-server
agent 1.24.13 (user)
apex 3.6.19 (core)
api 1.3.3 (core)
auth 3.9.4 (core)
code-analyzer 5.4.0 (user)
data 4.0.55 (core)
deploy-retrieve 3.23.1 (core)
info 3.4.85 (core)
lightning-dev 3.5.1 (user)
limits 3.3.66 (core)
marketplace 1.3.8 (core)
org 5.9.28 (core)
packaging 2.20.1 (core)
schema 3.3.81 (core)
settings 2.4.46 (core)
sobject 1.4.72 (core)
telemetry 3.6.55 (core)
templates 56.3.63 (core)
trust 3.7.113 (core)
user 3.6.38 (core)
@salesforce/sfdx-plugin-lwc-test 1.2.1 (user)
sfdmu 4.38.0 (user)
SF ENV. VARS.
SF_BINPATH,/Users/kevin.do/.local/share/sf/client/bin/sf
SF_AUTOUPDATE_DISABLE,true
SF_DISABLE_AUTOUPDATE,true
SF_UPDATE_INSTRUCTIONS,Use "npm update --global @salesforce/cli" to update npm-based installations.
Windows: false
Shell: zsh
Channel: stable
Diagnostics
✅ pass - salesforcedx plugin isn’t installed
❌ fail - you have at least one linked plugin
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - using latest or latest-rc CLI version
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
❌ warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
❌ fail - [@salesforce/plugin-auth] CLI supports v2 crypto
{
"architecture": "darwin-arm64",
"cliVersion": "@salesforce/cli/2.106.6",
"nodeVersion": "node-v22.19.0",
"osVersion": "Darwin 24.6.0",
"rootPath": "/Users/kevin.do/.local/share/sf/client/2.106.6-c2615ca",
"shell": "zsh",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.34 (core)",
"@oclif/plugin-commands 4.1.32 (core)",
"@oclif/plugin-help 6.2.32 (core)",
"@oclif/plugin-not-found 3.2.67 (core)",
"@oclif/plugin-plugins 5.4.46 (core)",
"@oclif/plugin-search 1.2.28 (core)",
"@oclif/plugin-update 4.7.4 (core)",
"@oclif/plugin-version 2.2.32 (core)",
"@oclif/plugin-warn-if-update-available 3.1.46 (core)",
"@oclif/plugin-which 3.2.39 (core)",
"@salesforce/cli 2.106.6 (core)",
"@salesforce/lwc-dev-server 2.11.0 (link) /opt/homebrew/lib/node_modules/@salesforce/lwc-dev-server",
"agent 1.24.13 (user) published 2 days ago (Mon Sep 22 2025)",
"apex 3.6.19 (core)",
"api 1.3.3 (core)",
"auth 3.9.4 (core)",
"code-analyzer 5.4.0 (user) published 28 days ago (Tue Aug 26 2025)",
"data 4.0.55 (core)",
"deploy-retrieve 3.23.1 (core)",
"info 3.4.85 (core)",
"lightning-dev 3.5.1 (user) published 27 days ago (Wed Aug 27 2025)",
"limits 3.3.66 (core)",
"marketplace 1.3.8 (core)",
"org 5.9.28 (core)",
"packaging 2.20.1 (core)",
"schema 3.3.81 (core)",
"settings 2.4.46 (core)",
"sobject 1.4.72 (core)",
"telemetry 3.6.55 (core)",
"templates 56.3.63 (core)",
"trust 3.7.113 (core)",
"user 3.6.38 (core)",
"@salesforce/sfdx-plugin-lwc-test 1.2.1 (user) published 354 days ago (Fri Oct 04 2024)",
"sfdmu 4.38.0 (user) published 269 days ago (Sun Dec 29 2024)"
]
}
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 571
- Fork
- 80
- Merge medio
- 2g 2h
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di forcedotcom/cli
-
investigating validated
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
forcedotcom/cli#3657 · 2 commenti ·
-
`sf agent preview` fails with `AgentApiNotFound` against staging (aws-stage1) orgs — `stage.api.salesforce.com` missing from endpoint fallbackForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaarea:afdx owned by another team
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
forcedotcom/cli#3645 · 2 commenti ·
-
bug investigating validated
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
forcedotcom/cli#3644 · 6 commenti ·
-
sf agent mcp asset replace --assets null throws raw TypeError instead of InvalidShapeForse già presa @konkonrong-lgtm l’ha presa 59 giorni fa. Apertaarea:afdx bug investigating owned by another team validated
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
forcedotcom/cli#3625 · 4 commenti ·
-
area:afdx bug owned by another team
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
forcedotcom/cli#3608 · 2 commenti ·
Tutte le issue di forcedotcom/cli
Issue simili
-
[Bug] The producer summary counts an unreported client version as a second version and warns about a version mixForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
apache/rocketmq-dashboard#6110 ·
I maintainer di solito rispondono entro 4 giorni
-
area:core bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
area/install-update comp/gateway P0 sweeper:risk-compatibility type/bug
Difficoltà 2/5 Meno di un'ora Idoneità per principianti 72/100
NousResearch/hermes-agent#135997 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Team: SCM
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
microsoft/BCApps#12652 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area:auth bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno