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.

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group