azure-search-openai-demo icon indicating copy to clipboard operation
azure-search-openai-demo copied to clipboard

failed to decrypt data: Key not valid for use in specified state

Open NISHANTSHRIVASTAV opened this issue 1 year ago • 0 comments

Hi Team,

When trying to upload pdf documents in the \data folder using .\scripts\prepdocs.py script to blob storage, we are getting the below error:

{"type": "consoleMessage", "timestamp": "2023-06-28T18:57:55.7831414+05:30", "data":{"message": "failed to decrypt data: Key not valid for use in specified state.\n"}}

Any log messages were given by the failure

subprocess.CalledProcessError: Command '['cmd', '/c', 'azd auth token --output json --scope https://search.azure.com/.default --tenant-id tenant_id']' returned non-zero exit status 1.

OS and Version?

Windows 10

azd version?

1.0.1

What should be the resolution here?

Please let us know if you need more information.

NISHANTSHRIVASTAV avatar Jun 28 '23 14:06 NISHANTSHRIVASTAV