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

Special holiday offer! You and a friend can attend FabCon with a BOGO code. Supplies are limited. Register now.

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
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

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.