Bug : Giving an error while registering
Opened this issue · 15 comments
@VinayLodhi1712 maybe the guy who worked on it might have changed the data being sent to the backend 🤦♂️, would you like to work on it? also the history input is getting filled with junk
@VinayLodhi1712 i was able to register successfully, can you check if your pin is correct, or maybe it's some issue with pin validation
yeah i would love to work on it. But can you just tell me the database url i have to use mine..? and I need some time to see what are the things mainly creating problem?
Well you can make a new mongodb collection and connect to that, the models are already there in the backend. So all you need to do is create a new mongodb database on mongodb and get the connection uri for testing.
@Luson045 I have tried to register a hospital to work on a issue. But I couldn't register due to pincode error.
I have used dummy details and ensured the pincode is correct.
Hi @VinayLodhi1712 could you share network response ss.
@lade6501 i think we need to re work on the pincode validation, it is not working sometimes 🤔
@Akshithsaai share the screenshot of response in the network section
@lade6501 i think we need to re work on the pincode validation, it is not working sometimes 🤔
Yeah I tested few scenarios, in some it's working and in some it's not, also noticed that DOB field is causing error due to Date
type.
Will start working soon on it just finishing pre-commit issue.
@Akshithsaai share the screenshot of response in the network section
@Akshithsaai validation issue i guess
@Akshithsaai validation issue i guess
Yeah I think so too @Luson045
@lade6501 mentioned about it. He said he is working on it. May be that should fix.
so can you guys tell me i have to work on this issue or not
Hey @VinayLodhi1712 i checked pincode is working fine, geocode api is not working an giving empty array in /register
route of authRoute
168: const results = await geocoder.geocode(address.postalCode + " India");
but same code is working fine in ../hospital/index.js
could you check for same.