currently when a API request failed the frontend just says "failed to do X". We should be able to parse the error message from backend and show in the frontend for example when u create a team you will get failed to create a team. However the reason of the error could be the team's name is taken, or you are an unverified user or something else. Frontend should be able to convey this message to the user