<?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: Silver layer to Salesforce - Need Help Debugging - IllegalArgumentException: Secret does not exi in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/silver-layer-to-salesforce-need-help-debugging/m-p/129389#M48518</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/155141"&gt;@ManojkMohan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Could you send as a command that you used to put secret to a scope for this following key&amp;nbsp;&lt;STRONG&gt;sf_private_key?&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Something went wrong with putting this particular key to a scope. You will only get this error if there's no such a key in a scope.&lt;/P&gt;&lt;P&gt;Anyway, you can try once again to add that key to a scope but this time attach --debug flag to a command&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks secrets put-secret salesforce sf_private_key_test --debug&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1755939783492.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/19287i892CF592277BAE5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1755939783492.png" alt="szymon_dybczak_0-1755939783492.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 23 Aug 2025 09:09:25 GMT</pubDate>
    <dc:creator>szymon_dybczak</dc:creator>
    <dc:date>2025-08-23T09:09:25Z</dc:date>
    <item>
      <title>Silver layer to Salesforce - Need Help Debugging - IllegalArgumentException: Secret does not exist</title>
      <link>https://community.databricks.com/t5/data-engineering/silver-layer-to-salesforce-need-help-debugging/m-p/129352#M48503</link>
      <description>&lt;OL&gt;&lt;LI&gt;I have ingested raw data&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Converted into Bronze Table&lt;/LI&gt;&lt;LI&gt;Subsequently have saved the DataFrame as a Delta table in the 'silver' schema&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;AS part of sending data from silvertable to salesforce&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Install &amp;amp; authenticate the Databricks CLI - Done&lt;/LI&gt;&lt;LI&gt;Create the secret scope - Done&lt;/LI&gt;&lt;LI&gt;Add secrets into the scope - Suspecting error here&lt;/LI&gt;&lt;LI&gt;Verify scope and secrets - Done&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ManojkMohan_0-1755889455988.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/19277i9F95E0481608B354/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojkMohan_0-1755889455988.png" alt="ManojkMohan_0-1755889455988.png" /&gt;&lt;/span&gt;5. Load secrets securely in a notebook&lt;/LI&gt;&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ManojkMohan_1-1755889481679.png" style="width: 289px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/19278iA558B5C755A4BAB4/image-dimensions/289x214?v=v2" width="289" height="214" role="button" title="ManojkMohan_1-1755889481679.png" alt="ManojkMohan_1-1755889481679.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;LI&gt;Build a JWT for Salesforce Oauth&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The below script is performing&amp;nbsp;&amp;nbsp;fcrucial part of the&amp;nbsp;Salesforce OAuth 2.0 JWT Bearer Flow. Its main goal is to create a secure, signed JSON Web Token (JWT) that can be used to prove the application's identity to Salesforce without using a password.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ManojkMohan_2-1755889722106.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/19279iA2AE7F938C50FC81/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojkMohan_2-1755889722106.png" alt="ManojkMohan_2-1755889722106.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;IllegalArgumentException: Secret does not exist with scope: salesforce and key: sf_private_key&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Need help debugging&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 19:09:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/silver-layer-to-salesforce-need-help-debugging/m-p/129352#M48503</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-08-22T19:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Silver layer to Salesforce - Need Help Debugging - IllegalArgumentException: Secret does not exi</title>
      <link>https://community.databricks.com/t5/data-engineering/silver-layer-to-salesforce-need-help-debugging/m-p/129363#M48507</link>
      <description>&lt;P&gt;to add&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ManojkMohan_0-1755895542352.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/19281i8E6A3069895BF114/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojkMohan_0-1755895542352.png" alt="ManojkMohan_0-1755895542352.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Variables have been set successfully. Consumer Key starts with: 3MVG9rZjd7MXFdL... Salesforce Username: &lt;A href="mailto:manoj.km372@agentforce.com" target="_blank" rel="noopener"&gt;manoj.km372@agentforce.com&lt;/A&gt;&amp;nbsp;, private key alone giving error -&amp;nbsp;&lt;SPAN class=""&gt;IllegalArgumentException: &lt;/SPAN&gt;Secret does not exist with scope: salesforce and key: sf_private_key .&amp;nbsp;C:\Users\manoj.km\Downloads&amp;gt;server.key opens the note pad file successfully&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Aug 2025 20:48:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/silver-layer-to-salesforce-need-help-debugging/m-p/129363#M48507</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-08-22T20:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Silver layer to Salesforce - Need Help Debugging - IllegalArgumentException: Secret does not exi</title>
      <link>https://community.databricks.com/t5/data-engineering/silver-layer-to-salesforce-need-help-debugging/m-p/129389#M48518</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/155141"&gt;@ManojkMohan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Could you send as a command that you used to put secret to a scope for this following key&amp;nbsp;&lt;STRONG&gt;sf_private_key?&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;Something went wrong with putting this particular key to a scope. You will only get this error if there's no such a key in a scope.&lt;/P&gt;&lt;P&gt;Anyway, you can try once again to add that key to a scope but this time attach --debug flag to a command&lt;/P&gt;&lt;LI-CODE lang="python"&gt;databricks secrets put-secret salesforce sf_private_key_test --debug&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="szymon_dybczak_0-1755939783492.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/19287i892CF592277BAE5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="szymon_dybczak_0-1755939783492.png" alt="szymon_dybczak_0-1755939783492.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Aug 2025 09:09:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/silver-layer-to-salesforce-need-help-debugging/m-p/129389#M48518</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2025-08-23T09:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Silver layer to Salesforce - Need Help Debugging - IllegalArgumentException: Secret does not exi</title>
      <link>https://community.databricks.com/t5/data-engineering/silver-layer-to-salesforce-need-help-debugging/m-p/129906#M48631</link>
      <description>&lt;P&gt;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/110502"&gt;@szymon_dybczak&lt;/a&gt;&amp;nbsp; Resolved it now it&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had to use commands specific to&amp;nbsp;Databricks CLI v0.265.0&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ManojkMohan_0-1756302010191.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/19407iB69862A6AC9315D5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ManojkMohan_0-1756302010191.png" alt="ManojkMohan_0-1756302010191.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Aug 2025 13:40:28 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/silver-layer-to-salesforce-need-help-debugging/m-p/129906#M48631</guid>
      <dc:creator>ManojkMohan</dc:creator>
      <dc:date>2025-08-27T13:40:28Z</dc:date>
    </item>
  </channel>
</rss>

