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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now

Reply
dseym-brb
Frequent Visitor

Notebook error- MsSparkUtils parallel run failing with 429 error

Hello,

On Saturday, we began receiving intermittent (but frequent**) errors in our Fabric notebooks that use mssparkutils.runMultiple for parallelizing Spark jobs. The error looks like a 429/500 error trying to hit an internal Microsoft token endpoint to authenticate. The maximum concurrency we are using is 5, so I'm surprised that this would cause a 429 error.

Caused by: java.lang.Exception: Request to https://tokenservice1.northcentralus.trident.azuresynapse.net/api/v1/proxy/preprocessorApi/versions/... failed with status code: 500, response:{"error":"WorkloadApiInternalErrorException","reason":"Internal error 429.Internal error PBIServiceException. (ErrorCode=429) (HTTP 500)"}

 

We have retries setup in the pipeline so now that the error rate has reduced from 100% to only aboug 25-33%, we are able to complete our pipeline runs, but it is still concerning that a low volume of queries could produce a 429 error. We have an F64 SKU and our compute usage during these jobs stays below 25%.

 

Has anyone else received this same issue, and if so, were you able to find a root cause?

 

 

 

**From Saturday through Sunday, this was happening for close to 100% of notebooks running mssparkutils.runMultiple, but since then it has become less frequent, about 1/3 or 1/4 notebooks have this failure.

1 REPLY 1
Anonymous
Not applicable

Hi @dseym-brb ,

Based on the information you provided, a 429 error usually indicates that the service is receiving too many requests in a short period of time. Here are some potential causes and solutions that can lead to similar issues:

  1. Even with low concurrency settings, specific F SKUs and node sizes may still reach the concurrency limit, resulting in a 429 error. You may need to check if your SKUs have any specific limits or quotas.
  2. Check your authentication, especially if there have been recent updates or changes in your environment.

 

Best Regards,

Ada Wang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebFBC_Carousel

Fabric Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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