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

Get Fabric Certified for FREE during Fabric Data Days. 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Fabric Update Carousel

Fabric Monthly Update - October 2025

Check out the October 2025 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.