Error testing AppBuilder sample app

7 posts, 0 answers
  1. Adrian
    Adrian avatar
    1 posts
    Member since:
    May 2014

    Posted 08 May 2014 Link to this post

    I've tried in various browsers and every time I get the following error when I try to run the sample app.

    The page at app.icenium.com says:
    Everlive API Key is not set.


    Not a good impression for my first time testing out your platform.
  2. Iva Koevska
    Admin
    Iva Koevska avatar
    286 posts

    Posted 09 May 2014 Link to this post

    Hello Adrian,

    Due to a small regression in the previous release of AppBuilder, you need to manually set your API key in your app to get it running. We are sorry for the inconvenience and have taken care to fix the issue in our next release.

    Here is what you need to get your work going with the demo app:

    1. In the browser, log in at http://platform.telerik.com and open the Friends App workspace.
    2. Open the Backend Services project.
    3. In the side bar, click API keys.
    4. Copy the value under API key.
    5. In the breadcrumbs above, click Friends App.
    6. Open the AppBuilder project.
    7. In the Project Navigator, open scripts\app\settings.js.
    8. On line 8, replace $EVERLIVE_API_KEY$ with the value you obtained on step 4.

    Let us know if you need further help. 


    Regards,
    Iva Koevska
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  3. stefan
    stefan avatar
    1 posts
    Member since:
    May 2014

    Posted 12 May 2014 in reply to Iva Koevska Link to this post

    can you please recheck the page with the last version of chrome. When you open the point 2 (Open the Backend Services project.)
    there is a littleerror the avoid to display the page event.
    <<""returnValue is deprecated.
    Please use the standard event.preventDefault() instead.
    229097002.js:86[blocked] The page at 'https://platform.telerik.com/#workspace/be6f6aaa-e997-45bf-b4c5-50d09df1af04/backendservices/92d02b10-d9de-11e3-b52a-8b702fb77357' was loaded over HTTPS,
    but ran insecure content from 'http://www.telerik.com/account': this content should also be loaded over HTTPS."">>
  4. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 13 May 2014 Link to this post

    Hello Stefan,

    We have checked with the latest developer version of Chrome and could not reproduce the issue.
    If the problem persists could you please try with the old trick of clearing the browser's cache and retry?

    Regards,
    Anton Dobrev
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  5. Anton Dobrev
    Admin
    Anton Dobrev avatar
    539 posts

    Posted 13 May 2014 Link to this post

    Hi Stefan,

    We owe you an apology for the not enough precise information.

    Due to the already mentioned regression, the Everlive API key which is automatically filled in a dedicated placeholder may incorrectly occur to be also filled into the check that verifies the presence of the API key.

    Please, from the project navigation panel at your right, navigate to scripts/app/app.js. The code that does the check is located at line 27. Could you please verify in your project that the line looks like this
    var isApiKeySet = (appSettings.everlive.apiKey !== '$EVERLIVE_API_KEY$');

    and the value of the API key is not entered there?

    If accidentally the value of the API key has been dispatched in the check when building the starting app, please, copy the upper line and paste it in your project.

    Once again we would like to offer our apologies for the inconvenience caused.

    Regards,
    Anton Dobrev
    Telerik
     

    Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

     
  6. Vijay
    Vijay avatar
    1 posts
    Member since:
    Aug 2012

    Posted 24 Sep 2014 in reply to Iva Koevska Link to this post

    Dear Iva Koevska

    I followed all the steps mentioned
    Here is what you need to get your work going with the demo app:

    1. In the browser, log in at http://platform.telerik.com and open the Friends App workspace.
    2. Open the Backend Services project.
    3. In the side bar, click API keys.
    4. Copy the value under API key.
    5. In the breadcrumbs above, click Friends App.
    6. Open the AppBuilder project.
    7. In the Project Navigator, open scripts\app\settings.js.
    8. On line 8, replace $EVERLIVE_API_KEY$ with the value you obtained on step 4.
     however when I click 'Register'on the signup page, I get the following error.Request your help if I had missed something.

    "the page at app.icenium.com says invalid API key"
























  7. Iva Koevska
    Admin
    Iva Koevska avatar
    286 posts

    Posted 24 Sep 2014 Link to this post

    Hi Vijay,

    Thank you for contacting the Telerik support system.

    If you have followed the instructions by the letter, you shouldn't be experiencing the reported issue. However, during the copy/paste of the API key, any of the following issues might have occurred:
    • You might have accidentally left one or all of the $ symbols. Make sure to remove them and try again.
    • You might have used the master key instead of the api key.
    • In addition, if you have created both the AppBuilder and the Backend Services projects yourself, make sure that the Backend Services project is based on the Friends app (you can pick this option when creating the project).

    Hope this helps. Don't hesitate to let us know if you need further assistance.

    Regards,
    Iva Koevska
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top