Skip to main content

I have created a REST resource to expose it as an MCP tool, but when am clicking the 'SFDX: Create OpenAI Documentation' in VS Code, the externalServiceRegistrations folder is created, but under that YAML file is not created, and throwing the error below. 

 

OpenAPI document generation produced no content. Last failure: LLM call failed: TypeError: Vu.getChannelService(...).showCommandWithTimestamp is not a function 

 

I have done all the basic setup, but still am feeling like some settings I missed. Please let me know if you have any ideas to solve this issue. 

 

Just FYI, 

 

In the project.json file, I added the option below 

"sourceBehaviorOptions": ["decomposeExternalServiceRegistrationBeta"] 

 

in setting.json file, I added the option below 

"salesforcedx-vscode-apex-oas.enableRestOASGen": true, 

 

Also, I downgraded the Agentforce Vibe extension(I didn't explicitly install it, may be came in through the Salesforce Extension package) to 3.40 cause with the latest 4.x version, it was throwing an error during openAI document creation. 

 

#Salesforce Developer  #Agentforce  #Mcp

4 answers
  1. Oct 16, 3:43 PM

    Hi all, thanks for your reply. I have tried everything, but no luck. I have raised a ticket; let's see.

0/9000