cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

I added a secret scope to the databricks environment, and I get this error when trying to run either of the following:

haylee
New Contributor II

Commands Attempted:

dbutils.secrets.listScopes()

dbutils.secrets.get(scope = "{InsertScope}", key = "{InsertKey}") 

Error:

"

shaded.v245.com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')"

I have not seen any similar posts online. Please advise on what the error could be.

4 REPLIES 4

Debayan
Databricks Employee
Databricks Employee

Hi, Most probably it is not able to retreive the list. Could you please reverify if you have followed steps in https://docs.databricks.com/security/secrets/secret-scopes.html. Please let us know if this doesn't help.

haylee
New Contributor II

Hello, all of the steps in the document have been followed. I am able to confirm the secret scope has been created, and able list the secrets through calling the API. We are still receiving the same error when attempting to listScopes() or get a secret as example shows above

jose_gonzalez
Databricks Employee
Databricks Employee

Hi @Haylee Gaddyโ€‹,

Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.

No, the problem still persists.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now