Skip to main content
Answer

Issue with Salesforce: Execute SOQL

  • January 23, 2023
  • 2 replies
  • 77 views

Forum|alt.badge.img+3

I'm getting below error while executing the command Salesforce: Execute SOQL.

Error: Response from Salesforce doesn't appear to be a valid JSON: [{"message":"Session expired or invalid","errorCode":"INVALID_SESSION_ID"}]

Not sure if there are any issues with my salesforce account, but Salesforce: Authenticate is getting Successfully Authenticated.

 

Best answer by rbkadiyam

@ambarish.rao https://developer.salesforce.com/forums/?id=906F000000099xAIAQ

2 replies

rbkadiyam
Premier Pathfinder | Tier 7
Forum|alt.badge.img+17
  • Premier Pathfinder | Tier 7
  • Answer
  • January 23, 2023

Forum|alt.badge.img+3
  • Author
  • Cadet | Tier 2
  • January 24, 2023

Guys, the issue got resolved after updating the latest My Domain URL from Salesforce.
I have made the changes in the field "Base URL for your Salesforce Env” of Salesforce: Authenticate Command.