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

Preparing for a certification exam? Ask exam experts all your questions on May 15th. Register now.

Reply
QuinnDatatyk
Frequent Visitor

Spark SQL error: MetaException(message: Unable to fetch mwc token)

I got this issue when run spark sql query on my OneLake:

The query take too much time to response with a table just have 6 records. I checked the log, all of them were about refreshing token.

QuinnDatatyk_0-1712633402496.png

At the end, it return exception:

QuinnDatatyk_1-1712633530695.png

I checked that i  have full permissions on onelake and workspace.

2 ACCEPTED SOLUTIONS

Thank you for your reply @Anonymous 

I'm still stuck with this problem since last Friday. 

Sometimes the query can return results after a long run, but often it will raise a MetaException.

Hope this can be resolved soon.

View solution in original post

Anonymous
Not applicable

Hi @QuinnDatatyk 
Apologies for the issue. 

It is difficult to tell what could be the reason for this performance. I would request you to wait for sometime and try again as it may be due to some outage issue.

If the issue still persists, please reach out to our support team so they can do a more thorough investigation on why this it is happening: Link

After creating a Support ticket please provide the ticket number as it would help us to track for more information.

Hope this helps. Please let us know if you have any other queries.

View solution in original post

7 REPLIES 7
zzthatcher
Frequent Visitor

I got this error today. I tried stopping and restarting my kernel and got a capacity limit exceeded exception. So this may have something to do with running actions when you have a session open but no capacity left to use. 

QuinnDatatyk
Frequent Visitor

It seems this error only occurs on Southeast Asia servers.

I tried the same case with reagion East Asia, everything is ok.

Anonymous
Not applicable

Hi @QuinnDatatyk 
Thanks for using Fabric Community.
This might be an intermittent issue. Hence I request you to wait for sometime and try again. Do let me know if the issue still persists. I have informed the internal team regarding this issue.

Thanks

Thank you for your reply @Anonymous 

I'm still stuck with this problem since last Friday. 

Sometimes the query can return results after a long run, but often it will raise a MetaException.

Hope this can be resolved soon.

Anonymous
Not applicable

Hi @QuinnDatatyk 
Apologies for the issue. 

It is difficult to tell what could be the reason for this performance. I would request you to wait for sometime and try again as it may be due to some outage issue.

If the issue still persists, please reach out to our support team so they can do a more thorough investigation on why this it is happening: Link

After creating a Support ticket please provide the ticket number as it would help us to track for more information.

Hope this helps. Please let us know if you have any other queries.

Not sure why this is marked as resolved with this response?  If there is no explanation of the cause and people continue to have the issue I would not say it is resolved.  My coworker had this issue this morning in Fabric.  HiveException: MetaException(message:Unable to fetch mwc token)

I had created a support ticket for this issue. It is caused by a bug in the fabric server spark engine and affects a whole region. At that time, it was fixed after almost 2 weeks. It seems the only thing can do is to notify azure customer service and wait.

Helpful resources

Announcements
FBCApril_Carousel

Fabric Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.