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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
April Fabric Update Carousel

Fabric Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.