Silver layer to Salesforce - Need Help Debugging - IllegalArgumentException: Secret does not exist

ManojkMohan
Honored Contributor II
  1. I have ingested raw data 
  2. Converted into Bronze Table
  3. Subsequently have saved the DataFrame as a Delta table in the 'silver' schema

AS part of sending data from silvertable to salesforce

  1. Install & authenticate the Databricks CLI - Done
  2. Create the secret scope - Done
  3. Add secrets into the scope - Suspecting error here
  4. Verify scope and secrets - DoneManojkMohan_0-1755889455988.png5. Load secrets securely in a notebook
  5. ManojkMohan_1-1755889481679.png
  6. Build a JWT for Salesforce Oauth

The below script is performing  fcrucial part of the 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. 

ManojkMohan_2-1755889722106.png

IllegalArgumentException: Secret does not exist with scope: salesforce and key: sf_private_key 

 

Need help debugging