question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failing to open a new Azurite table in Storage Explorer

See original GitHub issue

I have Node.js 10.13.0 installed via nvm. I started Azurite 2.7.0 by running the following:

$ node --version
v10.13.0
$ mkdir empty
$ cd empty
$ npx azurite
...

Azurite started normally. I then used Storage Explorer 1.5.0 to create a new table named “Example”. The operation completed successfully, and I saw the “Example” table in the navigation tree. However, selecting the table to open it resulted in the following error:

<?xml version="1.0" encoding="utf-8"?><Error><Code>EntityNotFound</Code><Message>The specified entity does not exist.</Message></Error>

I found the following in the console log (no other errors or anything that looked too relevent):

POST /devstoreaccount1/Tables 204 2.419 ms - -
GET /devstoreaccount1/Example?%24top=1000 404 0.866 ms - 135

This is a simple reproduction of a more general issue we’ve encountered creating and reading tables in Azurite. Working with tables no longer appears to be working from our .NET Core application.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
edwin-hubercommented, Jul 12, 2019

@XiaoningLiu We need to push out a release.

I am unable to repro with the current version, and the tables behavior in the legacy-dev branch is the same as the service: When I use the query Syntax

http://localhost:10002/devstoreaccount1/demoe1391(PartitionKey='Foo',RowKey='Walter')

It returns 404 not found

<?xml version="1.0" encoding="utf-8"?>
<Error>
    <Code>EntityNotFound</Code>
    <Message>The specified entity does not exist.</Message>
</Error>

This is “almost” the same behavior that I get from the service, we can argue whether we need to update the Code to ResourceNotFound…: HTTP Status 404

<?xml version="1.0" encoding="utf-8"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
    <code>ResourceNotFound</code>
    <message xml:lang="en-US">The specified resource does not exist.
RequestId:85ab86e5-e002-0000-5ec9-389910000000
Time:2019-07-12T15:52:36.2226820Z</message>
</error>

When I use a filter:

%24select=&%24filter=PartitionKey%20eq%20%27foo%27%20and%20RowKey%20eq%20%27SS-HEAD%27&%24top=1000

I get an empty list: HTTP Status 200

{
    "value": []
}

The service provides a little more, but essentially also the empty list:

<?xml version="1.0" encoding="utf-8"?>
<feed xml:base="https://azuritetesting.table.core.windows.net/" xmlns="http://www.w3.org/2005/Atom" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml">
    <id>https://azuritetesting.table.core.windows.net/testtable</id>
    <title type="text">testtable</title>
    <updated>2019-07-12T15:54:50Z</updated>
    <link rel="self" title="testtable" href="testtable" />
    <author>
        <name />
    </author>
</feed>

We could change our response format to match the XML response from the service… but the responses are working with my sample app and queries submitted by the Cosmos Table API, so I think a release should be enough.

0reactions
edwin-hubercommented, May 4, 2021

released version and new release in Azurite v3 also addresses this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Azurite and Azure Storage Emulator issues
Right-click the Start button and choose 'Command Prompt(Admin'. · From the command prompt cd to the directory “C:\Program Files (x86)\Microsoft ...
Read more >
Unable to load storage tables in azure storage explorer
Not all storage accounts (like Blob Storage) supports tables. That could be the reason. Try to delete the %AppData%/Roaming/StorageExplorer ...
Read more >
Azurite V3 - npm
An open source Azure Storage API compatible server. ... Note: The latest Azurite V3 code, which supports Blob, Queue, and Table (preview) is ......
Read more >
Getting started with Azure storage explorer - SQLShack
Azurite is an open-source emulator that creates a local environment for testing and development for your application to use Azure blob storage, ...
Read more >
Tag: Azure Storage - The Flying Maverick
After installing Visual Studio 2022 and working with Azure Functions I noticed that a new storage emulator is being used called Azurite. Azurite...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found