Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write an item to storage: "storage provider could not be found in turn state." #512

Open
dweeb1937 opened this issue Nov 3, 2022 · 0 comments

Comments

@dweeb1937
Copy link

dweeb1937 commented Nov 3, 2022

I'd like to use Bot.Builder.Community.Components.Storage to write a specific piece of data as a blob to Azure blob storage. But when I install this package to Bot Framework Composer it throws the error "WriteStorageItem: storage provider could not be found in turn state."
I have tried the following in appsettings.json, under runtime settings:

 "blobStorage": {
        "connectionString": "DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey==;EndpointSuffix=core.windows.net",
        "container": "storage"
      },

and

      "BlobConnectionString": "DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey==;EndpointSuffix=core.windows.net",
      "BlobContainerName": "storage"

and

      "storage": "blobStorage",
      "telemetry": {
        "logActivities": true,
        "logPersonalInformation": false,
        "options": {
          "connectionString": "DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey==;EndpointSuffix=core.windows.net",
          "containerName": "storage"
        }
      },

But they all have this same error message. I note that adding the following there is successful in automatically storing blobs of bot state but doesn't allow me to construct and send a specific blob.
Any advice gratefully received.

      "blobTranscript": {
        "connectionString": "DefaultEndpointsProtocol=https;AccountName=myaccountname;AccountKey=myaccountkey==;EndpointSuffix=core.windows.net",
        "containerName": "transcripts"
      }

My BFC context is:

Version:  2.1.2
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant