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

Plugin: Error message for project quota reach should be nicer #556

Open
mergin-maps-bot opened this issue Jan 5, 2024 · 0 comments
Open

Comments

@mergin-maps-bot
Copy link
Member

What happens
In the QGIS plugin, when I am trying to create a project, when the user reached the project number quota, I get an error with badly formatted text:
"Failed to create Mergin Maps project.
('{"code":"ProjectsLimitHit","detail":"Maximum number of projects is reached. Please upgrade your subscription to create new projects (ProjectsLimitHit)","projects_quota":2}\n', 'Namespace: pricingnew-individual, project name: newpr')
"
I believe we should change it to look better

How to reproduce

  1. create a workspace with an individual subscription
  2. create 2 projects into it
  3. log in to the WS in the QGIS plugin and try to create a new project
    ➝ you get badly formatted error

Author of the original task:
Jozef Budac

Original tags:
migrate to github

Original task URL: https://app.clickup.com/t/861mpybpr

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