luminateExtend=1.7.1 - webpage ... no token response

Options
We are trying to figure out how to make the email collection campaign work on a webpage. Hope I explain the issue properly.

Email is not coming through.


To troubleshoot, using inspect element in browser put a breakpoint ..... Network TAB shows below request in pending. No response comes back..


Request URL:https://blah.blah/site/CRConsAPI?luminateExtend=1.7.1&api_key=BlahBlah&method=getLoginUrl&response_format=json&v=1.0


Now if the same request url is typed in the browser....there is a response back.


Any pointers to troubleshoot this issue is very much appreciated.


<script src="./resources/js/luminateExtend.min.js"></script>


luminateExtend.init({

apiKey: 'BLAHBLAH',

path: {

nonsecure: 'http://blah.blah/',

secure: 'https://blah.blah/site/'

}

});


luminateExtend.api.request({

api: 'survey',

callback: survey_submit_callback,

requiresAuth: true,

data: submit_data

});
Tagged:

Comments

  • Sri Daba:

    We are trying to figure out how to make the email collection campaign work on a webpage. Hope I explain the issue properly.

    Email is not coming through.


    To troubleshoot, using inspect element in browser put a breakpoint ..... Network TAB shows below request in pending. No response comes back..


    Request URL:https://blah.blah/site/CRConsAPI?luminateExtend=1.7.1&api_key=BlahBlah&method=getLoginUrl&response_format=json&v=1.0


    Now if the same request url is typed in the browser....there is a response back.


    Any pointers to troubleshoot this issue is very much appreciated.


    <script src="./resources/js/luminateExtend.min.js"></script>


    luminateExtend.init({

    apiKey: 'BLAHBLAH',

    path: {

    nonsecure: 'http://blah.blah/',

    secure: 'https://blah.blah/site/'

    }

    });


    luminateExtend.api.request({

    api: 'survey',

    callback: survey_submit_callback,

    requiresAuth: true,

    data: submit_data

    });

    It sounds like the issue you're running into is either that the domain you're calling the API from is not whitelisted in Luminate Online, or, the request domain is not valid. What is your Luminate Online domain, and what is the domain you are making the request from?

Categories