salesforcedx-vscode
salesforcedx-vscode copied to clipboard
Refresh SObject Definitions in Trailhead org
Summary
Refresh SObject Definitions failing for Standard Objects when running against a Trailhead org
Steps To Reproduce:
- Create trailhead playground
- Create vscode project
- Authorize via CLI and set new trailhead playground as default for project
- SFDX: Refresh SObject Definitions
- Choose Standard Objects (or All Objects)
Expected result
Successfully refresh object definitions
Actual result
Starting SFDX: Refresh SObject Definitions
10:22:12.962 sfdx sobject definitions refresh
Failure performing sObject describe aborted
10:22:22.828 sfdx sobject definitions refresh
ended with error Failure performing sObject describe aborted
Additional information
Refresh SObject Definitions for Custom Objects works as expected.
Salesforce Extension Version in VS Code:
Name: Salesforce Extension Pack Id: salesforce.salesforcedx-vscode Description: Extensions for developing on the Salesforce Platform Version: 54.11.0 Publisher: Salesforce VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=salesforce.salesforcedx-vscode
SFDX CLI Version:
sfdx-cli/7.149.1 darwin-arm64 node-v16.15.0
OS and version:
MacOS 12.3.1 (21E258)
Hi @anthonygiuliano - thanks for submitting the issue. I have been unable to repro so far, as I have been able to successfully connect to a Trailhead Playground org and refresh Standard Objects. Do you see anything downloaded to .sfdx/tools/sobjects/standardObjects? Or is that directory empty after getting the "Failure performing sObject describe aborted" error?
Thanks for the response! This is strange. I was also unable to reproduce this using a new project and a fresh playground (created last night). But I can still reproduce it using a new project and both of the original playgrounds I was using when I submitted this report. One of those was fresh at the time.
I've had all sorts of trouble creating trailhead playgrounds over the past few weeks. Is it possible the same problem was also causing this and has since been resolved? Yesterday was the first day I was able to create a playground without retrying several times. My friend was having the same problem creating playgrounds as of yesterday or Monday morning.
To answer your question though, there were no changes in .sfdx/tools/sobjects/standardObjects. Just the files that are there when I create a new project
This issue has not received a response in 7 days. It will auto-close in 7 days unless a response is posted.