Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agentforce is not working in VS code #108

Open
lokeshsinghbunny opened this issue Nov 7, 2024 · 2 comments
Open

Agentforce is not working in VS code #108

lokeshsinghbunny opened this issue Nov 7, 2024 · 2 comments
Labels
More Information Required More info required to triage issue

Comments

@lokeshsinghbunny
Copy link

Agentforce is not working in VS code. Receiving below error message on execting any prompt

error message:

queryLlmWithFileContent ~ error: {message: "Sorry I couldn't connect to the backend.", stack: "ChatServiceError: Sorry I couldn't connect to the …rcedx-einstein-gpt-1.3.0\dist\index.js:241:16683)", name: 'ChatServiceError'}message: "Sorry I couldn't connect to the backend."name: "ChatServiceError"stack: "ChatServiceError: Sorry I couldn't connect to the backend.\n at z4.getChatStream (c:\Users\lb9188\.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.3.0\dist\index.js:259:827)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at bu.handleWebviewMessage (c:\Users\lb9188\.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.3.0\dist\index.js:241:21222)\n at mh.value (c:\Users\lb9188\.vscode\extensions\salesforce.salesforcedx-einstein-gpt-1.3.0\dist\index.js:241:16683)"[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()defineGetter: ƒ defineGetter()defineSetter: ƒ defineSetter()lookupGetter: ƒ lookupGetter()lookupSetter: ƒ lookupSetter()proto: (...)get proto: ƒ proto()set proto: ƒ proto()

Screenshort:
image (1)
image

@jonifazo
Copy link

Hi lokeshsinghbunny - Have you tried re-authenticating to your org?
If that doesn't help, do you see any additional errors in the Developer Tools, or under Output > Einstein for Developers?

@jonifazo jonifazo added the More Information Required More info required to triage issue label Nov 12, 2024
@akkibaddiex
Copy link

akkibaddiex commented Nov 29, 2024

console.ts:137 [Extension Host] DefaultOrg ~ Error encountered getting a JWT from the DefaultOrg. InvalidJWTTokenError: We couldn’t access your Salesforce org. Try again, and if the issue persists, ask your admin for help.

Facing similar issue, checked that agent force is enabled in the sandbox, tried logging out and auth again. still seeing abve error. Ensured default org is set, i am able to open the default org with sfdx open org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
More Information Required More info required to triage issue
Projects
None yet
Development

No branches or pull requests

3 participants