<?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: post /api/2.0/sql/statements/sql statement id/cancel  forbidden error in databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/post-api-2-0-sql-statements-sql-statement-id-cancel-forbidden/m-p/93351#M38682</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/125216"&gt;@slakshmanan&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;The 403 Forbidden error usually means that the API request is not authorized, meaning you likely do not have the proper permissions or your authentication credentials are not being recognized. Here are 2 main reasons:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Missing or Incorrect Authentication Token&lt;/STRONG&gt;&lt;BR /&gt;To execute REST API requests on Databricks, you need to authenticate using a Personal Access Token (PAT). Make sure that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;You have generated a valid PAT from your Databricks workspace settings.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;You are including the PAT correctly in the request header.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="python"&gt;Authorization: Bearer &amp;lt;YOUR_PERSONAL_ACCESS_TOKEN&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;2. Insufficient Permissions&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Make sure you have correct permissions&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Oct 2024 18:49:03 GMT</pubDate>
    <dc:creator>filipniziol</dc:creator>
    <dc:date>2024-10-09T18:49:03Z</dc:date>
    <item>
      <title>post /api/2.0/sql/statements/sql statement id/cancel  forbidden error in databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/post-api-2-0-sql-statements-sql-statement-id-cancel-forbidden/m-p/93329#M38679</link>
      <description>&lt;P&gt;when i tried executing this request&lt;/P&gt;&lt;P&gt;post /api/2.0/sql/statements/&lt;SPAN class=""&gt;${&lt;/SPAN&gt;&lt;SPAN class=""&gt;SQL_STATEMENT_ID&lt;/SPAN&gt;&lt;SPAN class=""&gt;}&lt;/SPAN&gt;/cancel&lt;/P&gt;&lt;P&gt;I am getting forbidden error.&lt;/P&gt;&lt;P&gt;how do we get access to execute this&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 16:21:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/post-api-2-0-sql-statements-sql-statement-id-cancel-forbidden/m-p/93329#M38679</guid>
      <dc:creator>slakshmanan</dc:creator>
      <dc:date>2024-10-09T16:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: post /api/2.0/sql/statements/sql statement id/cancel  forbidden error in databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/post-api-2-0-sql-statements-sql-statement-id-cancel-forbidden/m-p/93351#M38682</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/125216"&gt;@slakshmanan&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;The 403 Forbidden error usually means that the API request is not authorized, meaning you likely do not have the proper permissions or your authentication credentials are not being recognized. Here are 2 main reasons:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Missing or Incorrect Authentication Token&lt;/STRONG&gt;&lt;BR /&gt;To execute REST API requests on Databricks, you need to authenticate using a Personal Access Token (PAT). Make sure that:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;You have generated a valid PAT from your Databricks workspace settings.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;You are including the PAT correctly in the request header.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="python"&gt;Authorization: Bearer &amp;lt;YOUR_PERSONAL_ACCESS_TOKEN&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;2. Insufficient Permissions&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Make sure you have correct permissions&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 18:49:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/post-api-2-0-sql-statements-sql-statement-id-cancel-forbidden/m-p/93351#M38682</guid>
      <dc:creator>filipniziol</dc:creator>
      <dc:date>2024-10-09T18:49:03Z</dc:date>
    </item>
  </channel>
</rss>

