User friendly error for active rescue signup failure #409
Labels
Meta | Good First Issue 🔰
An issue that is of small scope, and easily handled by a new contributor.
Priority | High ⚠️
An issue or PR that requires immediate attention.
Type | Enhancement ⚡
A PR that enhances an existing feature.
Milestone
Description
The fuel rats account system will reject an attempt to create an account with a CMDR name that is currently the client of an active rescue, this is to stop clients from needlessly regestering an account on fuelrats.com just to be rescued which many try to do even though it is not necessary.
Currently the fuel rats website will show an unknown error when this happens, ideally the front end would catch this error and show a user friendly dialogue explaining what is happening.
The error from the API is a 403 with a pointer to
/data/attributes/name
https://github.com/FuelRats/api.fuelrats.com/blob/3eb8610072937e483e27747d0edcb484045580b7/src/routes/Register.mjs#L69
Additional Information (optional)
No response
FuelRats IRC Nickname (optional)
No response
I can help!
The text was updated successfully, but these errors were encountered: