Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Failed to upload blockAuthentication Failed with Access token validation failed
This is the error i always get when I try to import data from an API. It is a decent amount of data 36000 json files. I have asked help to any chat ai bot available but cannot solve it.
Sidenote: It is possible that I get limited on the API, but every copilot and friends told me it is related to Azure. But I did every troubleshooting step possible. (If it is related to Statsbomb API call , it shouldnt be, as we are allowed 50.000 cals/min and my code ran 35 mins for 3000 json files.)
I will copy the full error underneath.
My Fabric = a code in spark notebook to import data from an API (Statsbomb).
Trouble shooting = I have linked my gen2 account to the workspace. I have upgraded to paid verson F2 instead of trial. But nothing seems to help.
Full error code:
Hello @Drei ,
From the error , its tough to tell which system is throwing the exception . if i were you i could have done this .
1. Narrow down to a smaller data set . may be just one JSON file and see is that works .
2.Tried to run the the API call using curl and Postman and see how it behaves .
Thanks
Himanshu
Hi @Drei
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.
Thanks.
I got the same error when tried to convert an excel file to a parquet one and store it in the data lakehouse. Surprisingly, resetting the standard session to the concurrent one and back to the standard helped. But maybe I just needed to reset the session, anyway, the error went away after that.
Hi @Drei
Thanks for using Microsoft Fabric Community.
Apologies for the inconvenience that you are facing here.
The “Access token validation failed” error typically occurs when there’s an issue with the authentication process. Here are some troubleshooting steps that might help you.
I hope this information helps. Please do let us know in case if you have further questions.
Thanks.