React native ( cann't make api call using axios)

React native ( cann't make api call using axios)
0
const signup = (dispatch) =>  async ({ first_name, last_name, email, password, phone, age, gender }) => {
    console.log("reachd signup in authcontext");
    try {
        console.log("calling signup");
        const response = await trackerApi.post('http://localhost:5000/auth/signup', { first_name, last_name, email, password, phone, age, gender });
        console.log("calling response");
        await AsyncStorage.setItem('token', response.data.token);
        dispatch({ type: 'signin', payload: response.data.token });

        navigate('TrackList');
    } catch (err) {
        console.log("erro in api calls");
        dispatch({ type: 'add_error', payload: 'Somthing went wrong with sign up'});
    }
};

//// Responce
Running application on Nokia 8.1.
SignupScreen
reachd signup in authcontext
calling signup
erro in api calls
SignupScreen

What’s the error? That’s the useful information needed here, at the minute you’re just logging that you have an error and hiding what the error is.