<?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: Cannot write Feature Table because of invalid access token in Machine Learning</title>
    <link>https://community.databricks.com/t5/machine-learning/cannot-write-feature-table-because-of-invalid-access-token/m-p/12213#M626</link>
    <description>&lt;P&gt;Hi @Kaniz Fatma​,&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately, that did not solve the problem.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 10:19:42 GMT</pubDate>
    <dc:creator>mhansinger</dc:creator>
    <dc:date>2023-01-16T10:19:42Z</dc:date>
    <item>
      <title>Cannot write Feature Table because of invalid access token</title>
      <link>https://community.databricks.com/t5/machine-learning/cannot-write-feature-table-because-of-invalid-access-token/m-p/12210#M623</link>
      <description>&lt;P&gt;From a notebook I created a new feature store via:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sql 
CREATE DATABASE IF NOT EXISTS feature_store_ebp;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Within that feature store I fill my table with:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;feature_store_name = "feature_store_ebp.table_1"
try:
    fs.write_table(
        name=feature_store_name,
        df=training_data,
        mode="overwrite",
    )
except:
    fs.create_table(
        name=feature_store_name,
        keys=["ID"],
        features_df=training_data,
        partition_columns="MWNR",
        description="Table 1",
    )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I get then an ExceptionError:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Exception: API request to endpoint /api/2.0/feature-store/feature-tables/get failed with error code 403 != 200. Response body: '
&amp;nbsp;
&amp;nbsp;
Error 403 Invalid access token.
&amp;nbsp;
HTTP ERROR 403
&amp;nbsp;
Problem accessing /api/2.0/feature-store/feature-tables/get. Reason:
&amp;nbsp;
    Invalid access token.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;What am I missing?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 08:47:34 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/cannot-write-feature-table-because-of-invalid-access-token/m-p/12210#M623</guid>
      <dc:creator>mhansinger</dc:creator>
      <dc:date>2023-01-13T08:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write Feature Table because of invalid access token</title>
      <link>https://community.databricks.com/t5/machine-learning/cannot-write-feature-table-because-of-invalid-access-token/m-p/12211#M624</link>
      <description>&lt;P&gt;have you imported the module n create the connection ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;from&lt;/B&gt; databricks.feature_store &lt;B&gt;import&lt;/B&gt; FeatureStoreClient&lt;/P&gt;&lt;P&gt;fs = FeatureStoreClient()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;refer link: &lt;A href="https://docs.databricks.com/machine-learning/feature-store/feature-tables.html#create-a-database-for-feature-tables" target="test_blank"&gt;https://docs.databricks.com/machine-learning/feature-store/feature-tables.html#create-a-database-for-feature-tables&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2023 15:48:03 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/cannot-write-feature-table-because-of-invalid-access-token/m-p/12211#M624</guid>
      <dc:creator>sher</dc:creator>
      <dc:date>2023-01-15T15:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write Feature Table because of invalid access token</title>
      <link>https://community.databricks.com/t5/machine-learning/cannot-write-feature-table-because-of-invalid-access-token/m-p/12213#M626</link>
      <description>&lt;P&gt;Hi @Kaniz Fatma​,&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately, that did not solve the problem.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 10:19:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/cannot-write-feature-table-because-of-invalid-access-token/m-p/12213#M626</guid>
      <dc:creator>mhansinger</dc:creator>
      <dc:date>2023-01-16T10:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot write Feature Table because of invalid access token</title>
      <link>https://community.databricks.com/t5/machine-learning/cannot-write-feature-table-because-of-invalid-access-token/m-p/12214#M627</link>
      <description>&lt;P&gt;What kind of runtime machine (version) do you use to run this code? &lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 20:33:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/machine-learning/cannot-write-feature-table-because-of-invalid-access-token/m-p/12214#M627</guid>
      <dc:creator>Cami</dc:creator>
      <dc:date>2023-01-19T20:33:48Z</dc:date>
    </item>
  </channel>
</rss>

