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

GetAsync throws a 409 error (Table already exists) #13

Open
sander1095 opened this issue Jul 18, 2018 · 0 comments
Open

GetAsync throws a 409 error (Table already exists) #13

sander1095 opened this issue Jul 18, 2018 · 0 comments

Comments

@sander1095
Copy link

Hello!

I have noticed that GetAsync throws a POST 409 error. This means that the table or record already exists.

I believe a GET should not use a POST. If the table does not exist, should that not result in a 404 instead? Or something like this? Using a GET which creates a table which would then return 0 results because the table has no items seems pointless.

It's very annoying to see this error in my logs because at first sight it looks like something is going wrong, but nothing is.

I believe this error could occur thanks to the EnsureTable method which uses a CreateIfNotExists method which can cause the POST. The table already exists though, so I don't know why a POST is used.

I'd like to see a solution where this error does not occur :)

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