Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
nmadwani
Regular Visitor

MetaException(message:Unable to fetch mwc token)

I get MetaException(message:Unable to fetch mwc token) when I use variables.

person_df = spark.sql("SELECT DISTINCT P.id FROM `{silver_database_name}`.`Person` AS P")
 
if I use lakehouse name instead it works, please suggest

 

3 REPLIES 3
nmadwani
Regular Visitor

Hi,

This was due to incorrect string interpolation.

 

Thank you.

Anonymous
Not applicable

Hi @nmadwani,

Any update on this? Can you please provide some more detail informations?

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @nmadwani,

Can you please share the detail opeartion steps, variable definition and corresponding values that you used? They should help us clarify your scenario and test to troubleshooting.

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Fabric Update Carousel

Fabric Monthly Update - February 2026

Check out the February 2026 Fabric update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.