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

Show message why device registration failed in case of device limit is reached instead of request failed with status code 422 #407

Closed
nanjarapalli opened this issue Feb 20, 2024 · 0 comments · Fixed by #410
Labels
good first issue Good for newcomers minor This issue causes only minor annoyance to the user

Comments

@nanjarapalli
Copy link

Preconditions

  • Astarte realm created with device limit 10

Steps

  • Register 10 devices using astarte dashboard
  • Try to register 11th device
  • Faield to register device - OK
  • Error message shows request failed with status code 422 - NOK

Expected

  • Actual message why registration failed
@davidebriani davidebriani added the minor This issue causes only minor annoyance to the user label Feb 20, 2024
@davidebriani davidebriani moved this to Unscheduled in Astarte Feb 20, 2024
@davidebriani davidebriani added the good first issue Good for newcomers label Feb 20, 2024
davidebriani added a commit to davidebriani/astarte-dashboard that referenced this issue Mar 4, 2024
When the device registration limit is reached and the user tries to
register a new device, show an appropriate feedback message explaining
why the registration fails.

Closes astarte-platform#407

Signed-off-by: Davide Briani <davide.briani@secomind.com>
davidebriani added a commit to davidebriani/astarte-dashboard that referenced this issue Mar 4, 2024
When the device registration limit is reached and the user tries to
register a new device, show an appropriate feedback message explaining
why the registration fails.

Closes astarte-platform#407

Signed-off-by: Davide Briani <davide.briani@secomind.com>
davidebriani added a commit to davidebriani/astarte-dashboard that referenced this issue Mar 4, 2024
When the device registration limit is reached and the user tries to
register a new device, show an appropriate feedback message explaining
why the registration fails.

Closes astarte-platform#407

Signed-off-by: Davide Briani <davide.briani@secomind.com>
@github-project-automation github-project-automation bot moved this from Unscheduled to Done in Astarte Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers minor This issue causes only minor annoyance to the user
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants