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

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.

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