etsy / 411

An Alert Management Web Application
https://demo.fouroneone.io
MIT License
971 stars 112 forks source link

SQLSTATE[23000} | Error when trying to add a new user #104

Closed vmcleitao closed 7 years ago

vmcleitao commented 7 years ago

I am trying to add a new user on 411 Alert but I get the following error,

SQLSTATE[23000]: Integrity constraint violation: 19 UNIQUE constraint failed: users.site_id, users.api_key

Anyone knows how can I fixed it?

Tks in advance,

VML

ghost commented 7 years ago

Yes,

Add an apikey in de table for the previous created user. It's a bug that the apikey doesn't get saved when creating an user.

Forgot to create an issue for it.

vmcleitao commented 7 years ago

Hi Christian,

I tried several ways to generate a different API Key but the error remains. It occurs with any user that I have been created.

Sincerely

ghost commented 7 years ago

I know, you can't fix this in the frontend. You have to open the database from prompt and update the table manuel.

Btw. I am not a maintainer but only user.

kiwiz commented 7 years ago

@vmcleitao Should be fixed in v1.2.0

kiwiz commented 7 years ago

Closing, please reopen if you still have problems.

ghost commented 7 years ago

Seems still an issue. See #108