I built the react native app but it is giving errors when I try to verify my otp

This is the error message I am getting when I try to verify my account do I need to host the backend locally as well ?

ERROR {"data": {"error": "Unauthorized", "message": "Unauthorized", "status": "error"}, "status": 401} ERROR undefined
I havent made any changes at all

Read one of these on how to ask sensible question that will get an answer.

Your Rocket.Chat server will need to be registered so check that and make sure it is all working.

Then ask your well documented question in:

https://open.rocket.chat/channel/react-native