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
Esteemed Contributor III
Esteemed Contributor III

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
Moderator
Moderator

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 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!