You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which service(blob, file, queue, table) does this issue concern?
File
Which version of the SDK was used?
10.1.0
What's the Node.js/Browser version?
Node: 8.9.4
What problem was encountered?
I'm not sure how to set the x-ms-blob-type header on a file upload. I can't find it documented. I am looking to upload a .graphql file. I think the content type should be application/json, but when I set this, I get the following error:
You are using @azure/storage-file, but the error message is returned by Azure Storage Blob endpoint.
Please check your URL to make sure it's pointing to a Azure File service like "youraccount.file.core.windows.net" instead of a Blob endpoint like "youraccount.blob.core.windows.net".
If you want to use Azure Blob Service, then try @azure/storage-blob instead.
Which service(blob, file, queue, table) does this issue concern?
File
Which version of the SDK was used?
10.1.0
What's the Node.js/Browser version?
Node: 8.9.4
What problem was encountered?
I'm not sure how to set the
x-ms-blob-type
header on a file upload. I can't find it documented. I am looking to upload a.graphql
file. I think the content type should beapplication/json
, but when I set this, I get the following error:Steps to reproduce the issue?
The text was updated successfully, but these errors were encountered: