question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

LightningMessageChannel not supported

See original GitHub issue

Hey, I am just experiencing some errors in VSCode with ForceCode. I installed everything but always receive the following error when I want to retrieve classes: "NamespacePrefix, Description FROM LightningMessageChannel WHERE NamespacePrefix ^ ERROR at Row:1:Column:61 sObject type 'LightningMessageChannel' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names." Any ideas?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:9

github_iconTop GitHub Comments

1reaction
daishi4ucommented, Nov 23, 2019

For everyone facing this issue, change your api version to 46.0 in the org settings (Forcecode Menu => Org Settings). This is a per-org setting. I will release a fix soon.

0reactions
daishi4ucommented, Nov 25, 2019

Fixed in 3.19.2. If you are using LightningMessageChannel in a dev org, please read the changelog for instructions to re-enable opening LMCs

Read more comments on GitHub >

github_iconTop Results From Across the Web

lightning web components - MessageChannel not working
I have a very simple code which is not working: ... <isExposed>true</isExposed> <description>This is a sample Lightning Message Channel.
Read more >
LightningMessageChannel | Metadata API Developer Guide
A Lightning Message Channel represents a secure channel to communicate across UI technologies (Lightning Web Components, ... Unsupported Metadata Types.
Read more >
salesforce - The LightningMessageChannel named ...
The Lightning Message Channel should be in the camel case is the best ... LightningMessageChannel named boatMessageChannel was not found in ...
Read more >
Get error when lightning message channel is enabled in ...
... lightning Message Channel for genesys in salesforce, an error is popping up everytime we go on queue Error in $A.getCallback() [d is...
Read more >
How to create a MessageChannel in Salesforce using VS ...
<description>This is a sample Lightning Message Channel.</description> <lightningMessageFields> ... i m trying same but it not working.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found