HotelManagementSystem
HotelManagementSystem copied to clipboard
error while registering
when i try to register with post man it gave this error
{ "name": "RegistrationFailed", "message": "Verify the following fields", "code": "validation_failed", "status": 400, "errors": [ { "message": "\"name\" must be a string", "path": [ "name" ] }, { "message": "\"lastname\" must be a string", "path": [ "lastname" ] }, { "message": "\"username\" must be a string", "path": [ "username" ] }, { "message": "\"password\" must be a string", "path": [ "password" ] }, { "message": "\"type\" must be a string", "path": [ "type" ] } ] }