This is a migrated thread and some comments may be shown as answers.

Error testing AppBuilder sample app

6 Answers 115 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adrian
Top achievements
Rank 1
Adrian asked on 08 May 2014, 08:20 PM
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.

6 Answers, 1 is accepted

Sort by
0
Iva Koevska
Telerik team
answered on 09 May 2014, 08:23 AM
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!

 
0
stefan
Top achievements
Rank 1
answered on 12 May 2014, 03:15 PM
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."">>
0
Anton Dobrev
Telerik team
answered on 13 May 2014, 02:56 PM
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!

 
0
Anton Dobrev
Telerik team
answered on 13 May 2014, 04:08 PM
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!

 
0
Vijay
Top achievements
Rank 1
answered on 24 Sep 2014, 05:08 AM
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"
























0
Iva Koevska
Telerik team
answered on 24 Sep 2014, 06:55 AM
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.

 
Tags
Report a bug
Asked by
Adrian
Top achievements
Rank 1
Answers by
Iva Koevska
Telerik team
stefan
Top achievements
Rank 1
Anton Dobrev
Telerik team
Vijay
Top achievements
Rank 1
Share this question
or