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
{{ message }}
Repository navigation
The API version 2024-05-04 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter "--skipApiVersionCheck" or Visual Studio Code configuration "Skip Api Version Check" can skip this error. #4646
Getting the following azurite error. I upgrade Azurite and still the same message:
The API version 2024-05-04 is not supported by Azurite. Please upgrade Azurite to latest version and retry. If you are using Azurite in Visual Studio, please check you have installed latest Visual Studio patch. Azurite command line parameter "--skipApiVersionCheck" or Visual Studio Code configuration "Skip Api Version Check" can skip this error.
Reacted by Mirek Kukla, Johannes Lohrer, isaac ikusika, Maicon Heck, Zach Barrier, User7845, Erik O'Leary, Marcel, David Faivre and Jim Aho
Ran into this today and had to poke around in their sample app to figure out why it worked and my code didn't.
If you target Azure.Storage.Blobs version 12.19.1 instead of 12.20.0 then it avoids this error. That package is a dependency of Aspire.Azure.Storage.Blobs. That is my workaround for now at least.
Reacted by Nick Hodge, isaac ikusika, Zach Barrier, Vasileios Plavos, Lê Viết Hoàng, El Bruno and Sander de Groot
This work around only works for the previous version of Aspire. The latest (8.0.2) requires Azure.Storage.Blobs >= 12.20.0. Is there another work around for 8.0.2?
They released 8.0.2 after my previous comment. I'm sure this will be updated eventually as well but they released a new version of Azurite that supports this API version(3.30.0).
The RunAsEmulator call hardcodes version 3.29.0 inside that extension method. That is suppose to be fixed though.
They released 8.0.2 after my previous comment. I'm sure this will be updated eventually as well but they released a new version of Azurite that supports this API version(3.3.0).
The RunAsEmulator call hardcodes version 3.29.0 inside that extension method. So I just call that function again with the new version...
Hi Folks, with the new GA version of Azure Storage 2.0.0, it is only compliant with 12.20.0 version of Azure.Storage.Blobs, in this version the mismatch issue is not getting resolved. What should we do here?
Added to this, we need to use blob uri of azurite instead of connection string, as part of the new methods introduced in azure storage 2.0.0
Activity
JordanZaerr commentedon Jun 27, 2024
Ran into this today and had to poke around in their sample app to figure out why it worked and my code didn't.
If you target
Azure.Storage.Blobsversion12.19.1instead of12.20.0then it avoids this error. That package is a dependency ofAspire.Azure.Storage.Blobs. That is my workaround for now at least.zbarrier commentedon Jul 2, 2024
This work around only works for the previous version of Aspire. The latest (8.0.2) requires Azure.Storage.Blobs >= 12.20.0. Is there another work around for 8.0.2?
for-shariq commentedon Jul 2, 2024
Facing the same issue.
JordanZaerr commentedon Jul 2, 2024
They released 8.0.2 after my previous comment. I'm sure this will be updated eventually as well but they released a new version of Azurite that supports this API version(3.30.0).
The
RunAsEmulatorcall hardcodes version 3.29.0 inside that extension method. That is suppose to be fixed though.That should download the new azurite container and start it up as usual.
VasilisPlavos commentedon Jul 2, 2024
As Jordan Zaerr (@JordanZaerr) said, just use Azure.Storage.Blobs version 12.19.1 and it will work. 😊
zbarrier commentedon Jul 2, 2024
This worked with 8.0.2. Thank you!
JordanZaerr commentedon Jul 2, 2024
Zach Barrier (@zbarrier) I edited my comment because in the PR I linked I found a cleaner way to do the same thing.
NapalmCodes commentedon Jul 24, 2024
FYI with the release of 8.1.0 today you need to use an Azurite docker container with the 3.31.0 tag supporting "2024-08-04" api version.
shivamverma-ms commentedon Aug 12, 2024
Hi Folks, with the new GA version of Azure Storage 2.0.0, it is only compliant with 12.20.0 version of Azure.Storage.Blobs, in this version the mismatch issue is not getting resolved. What should we do here?
Added to this, we need to use blob uri of azurite instead of connection string, as part of the new methods introduced in azure storage 2.0.0
fix: microsoft/aspire#4646
5 remaining items
hansmbakker commentedon Oct 16, 2024
When using these components:
Aspire.Azure.Storage.Blobs/Aspire.Hosting.Azure.Storageversion8.2.1azure-storage/azurite:3.31.0The error is now
In my opinion it is a new symptom of the issue reported above; if you feel it should be a new issue, please convert this comment into an issue.
davidfowl commentedon Oct 16, 2024
Part of me thinks we should just pass skipVersiobcheck by default
fix: microsoft/aspire#4646
davidfowl commentedon Jan 10, 2025
Sébastien Ros (@sebastienros) can you look at this?
kwaazaar commentedon Jan 10, 2025
Why not use the 'latest' image tag? Solved the issues for me.
sebastienros commentedon Jan 24, 2025
I have submitted a PR to add
--skipApiVersionCheckby default. Thanks for testing it.davidfowl commentedon Jan 24, 2025
This is fixed in 9.1, in ~an hour so you can try a build here and let us know if we missed anything https://github.com/dotnet/aspire/blob/main/docs/using-latest-daily.md 😄
fix: microsoft/aspire#4646
fix: microsoft/aspire#4646