<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Microsoft Fabric Notebook data from API Error in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3867169#M2883</link>
    <description>&lt;P&gt;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.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 05:41:54 GMT</pubDate>
    <dc:creator>MrNeo</dc:creator>
    <dc:date>2024-04-25T05:41:54Z</dc:date>
    <item>
      <title>Microsoft Fabric Notebook data from API Error</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3705304#M1881</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;Failed to upload blockAuthentication Failed with Access token validation failed&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Sidenote&lt;/STRONG&gt;&lt;/EM&gt;: 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.&amp;nbsp; (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.)&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;I will copy the full error underneath.&lt;/STRONG&gt;&lt;BR /&gt;My Fabric =&amp;nbsp; a code in spark notebook to import data from an API (Statsbomb).&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Full error code:&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2024 14:12:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3705304#M1881</guid>
      <dc:creator>Drei</dc:creator>
      <dc:date>2024-02-17T14:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric Notebook data from API Error</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3707040#M1887</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="691822" data-lia-user-login="Drei" class="lia-mention lia-mention-user"&gt;Drei&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;Apologies for the inconvenience that you are facing here.&lt;/P&gt;
&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;“Access token validation failed”&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;error typically occurs when there’s an issue with the authentication process. Here are some troubleshooting steps that might help you.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Check Your Authentication Credentials:&lt;/STRONG&gt; Ensure that you have the correct&amp;nbsp;access token&amp;nbsp;or&amp;nbsp;API key&amp;nbsp;for accessing the StatsBomb API. Double-check that you’re using the right token in your Notebook.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Verify Token Scope and Permissions:&lt;/STRONG&gt; Make sure your token has the necessary&amp;nbsp;permissions&amp;nbsp;to access the specific API endpoint. Some APIs require specific scopes (e.g., read, write, or specific data access). Confirm that your token has the required scope.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Token Expiry:&lt;/STRONG&gt; Access tokens have a limited lifespan. Verify that your token is&amp;nbsp;still valid. If it has expired, obtain a fresh token.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Rate Limiting:&lt;/STRONG&gt; Some APIs have rate limits. Make sure you’re not exceeding the allowed number of requests per minute or hour.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Debugging with Postman:&lt;/STRONG&gt; Use tools like&amp;nbsp;Postman&amp;nbsp;to manually test the API request. Capture a valid access token and simulate the API call outside your Notebook. Observe any error messages or issues.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I hope this information helps. Please do let us know in case if you have further questions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Feb 2024 07:12:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3707040#M1887</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-02-19T07:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric Notebook data from API Error</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3711973#M1911</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="691822" data-lia-user-login="Drei" class="lia-mention lia-mention-user"&gt;Drei&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;From the error , its tough to tell which system is throwing the exception . if i were you i could have done this .&lt;BR /&gt;1. Narrow down to a smaller data set . may be just one JSON file and see is that works .&amp;nbsp;&lt;BR /&gt;2.Tried to run the the API call using curl and Postman and see how it behaves .&lt;BR /&gt;Thanks&lt;BR /&gt;Himanshu&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 18:19:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3711973#M1911</guid>
      <dc:creator>HimanshuS-msft</dc:creator>
      <dc:date>2024-02-20T18:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric Notebook data from API Error</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3713871#M1920</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="691822" data-lia-user-login="Drei" class="lia-mention lia-mention-user"&gt;Drei&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.&lt;BR /&gt;In case if you have any resolution please do share that same with the community as it can be helpful to others.&lt;BR /&gt;Otherwise, will respond back with the more details and we will try to help.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 09:49:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3713871#M1920</guid>
      <dc:creator>v-cboorla-msft</dc:creator>
      <dc:date>2024-02-21T09:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric Notebook data from API Error</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3713928#M1923</link>
      <description>&lt;LI-SPOILER&gt;Hi all! I am very sorry to respond this late. But I have remove the workspace. It was kind of urgent and it did not work for me. No solution helped as I cannot lower the amount of data i need to import. I did try in partitions but did not help. I encounter a lot of errors in fabric when moving large amounts of data and will look for other solutions. I have been able to get all the data via local python code on a drive. So it is not an API problem but the problem is with the amount of data fabric can handle at once. Another example is when I have 30.000 rows of data and I standardize _z the data, I have it in my data frame, but when I write to parquet 70% of the times it fails.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Sorry to have bothered you all and I am glad to see how helpful you are! I hope fabric improves and become the main tool for data. As it is in concept a great idea!&amp;nbsp;&lt;/LI-SPOILER&gt;</description>
      <pubDate>Wed, 21 Feb 2024 10:01:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3713928#M1923</guid>
      <dc:creator>Drei</dc:creator>
      <dc:date>2024-02-21T10:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Fabric Notebook data from API Error</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3867169#M2883</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 05:41:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Microsoft-Fabric-Notebook-data-from-API-Error/m-p/3867169#M2883</guid>
      <dc:creator>MrNeo</dc:creator>
      <dc:date>2024-04-25T05:41:54Z</dc:date>
    </item>
  </channel>
</rss>

