[Help needed, any support available?] Unable to start course navigation

I’ve developed an API which returns Fit file for Garmin Edge devices, which is hosted on Amazon AWS server, below is the way I am retrieving it from the server, I get the response successfully, but I am unable to start track navigation after getting the FIT file

function onReceive(responseCode, data){

      if (data != null) {

var nav = data.next();

            System.exitTo(nav.toIntent());

      }

}

    function getNavigation(url as String){

        var isUserLogged = Application.Storage.getValue("isUserLogged");

        if(isUserLogged == true){

            var params = { 

                };

                var options = {

                    : method => Communications.HTTP_REQUEST_METHOD_GET,

                    : responseType => Communications.HTTP_RESPONSE_CONTENT_TYPE_FIT 

                };

            Communications.makeWebRequest((url), params, options, method(:onReceive) );

        }

    }




I’ve tried the documented method demonstrated below, but unable to start the navigation, I really need help or direction from here because entire code has been studied from the ConnectIQ documentation, but still somehow it is not working.

//result when navigation recieved

    function onReceive(responseCode, data){

        if (data != null) {

            var navigation = data.next();

        }

    }