# \[SOLVED\] Tutorial testing failed

**URL:** <https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010>\
**Category:** AirVantage Enterprise Platform\
**Created:** [December 18, 2012, 3:57pm UTC](https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010 "2012-12-18T15:57:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![lioncity](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lioncity](https://forum.sierrawireless.com/u/lioncity)\
**Post date:** [December 18, 2012, 3:57pm UTC](https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010/1 "2012-12-18T15:57:04Z")

</div>

Dear all,

I am new to this forum, thank you all in advance for your kind advice and guidance.

When I test this tutorial “AWS Web Server Sample in PHP using AirVantage 4 APIs”, in the Step B-4, it asks me to key the following as Template URL :  
[s3-eu-west-1.amazonaws.com/elas … e.template](https://s3-eu-west-1.amazonaws.com/elasticbeanstalk-eu-west-1-281626357614/Linux_Apache_PHP_AV4_Sample.template)

However, when I click “Continue”, an error message comes out, as following and also the attached picture:  
ValidateTemplate failed: TemplateURL must reference a valid S3 object to which you have access.

What does this error mean? did I miss out any setting for a S3 object?

Please kindly advise, I look forward to hearing your hint and advice, thank you.

Best regards,  
lioncity

 ![](https://us1.discourse-cdn.com/flex025/uploads/sierrawireless/original/2X/4/4e7b309e0645d37506e60542823c1bf3ed561815.png)

---

<div class="post-metadata">

**Author:** ![thibs](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/thibs/32/953_2.png) [@thibs](https://forum.sierrawireless.com/u/thibs)\
**Post date:** [December 18, 2012, 5:07pm UTC](https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010/2 "2012-12-18T17:07:52Z")

</div>

Seems like the rights on the file have changed since the last release… sorry about that. Just fixed it. Please retry!

.Thibs.

---

<div class="post-metadata">

**Author:** ![lioncity](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lioncity](https://forum.sierrawireless.com/u/lioncity)\
**Post date:** [December 19, 2012, 3:29am UTC](https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010/3 "2012-12-19T03:29:48Z")

</div>

Hi Thibs,

Thanks for your reply. I’ve tried again for a few times, sorry still having the same Error message as following:  
ValidateTemplate failed: TemplateURL must reference a valid S3 object to which you have access.

Could you please kindly do the favor to help double check if everything is Ok in your side? thank you very much, I look forward to hearing from you…

Best regards,  
lioncity

---

<div class="post-metadata">

**Author:** ![thibs](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/thibs/32/953_2.png) [@thibs](https://forum.sierrawireless.com/u/thibs)\
**Post date:** [December 19, 2012, 9:30am UTC](https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010/4 "2012-12-19T09:30:39Z")

</div>

Mmm… strange. Could you please try to download the template file on your computer (it is a text file), and then use the upload option instead in the create stack form?

.Thibs.

---

<div class="post-metadata">

**Author:** ![lioncity](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lioncity](https://forum.sierrawireless.com/u/lioncity)\
**Post date:** [December 19, 2012, 3:57pm UTC](https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010/5 "2012-12-19T15:57:37Z")

</div>

Hi Thibs,

Yes, the template file upload method works properly, thank you!

---

<div class="post-metadata">

**Author:** ![lioncity](https://avatars.discourse-cdn.com/v4/letter/l/7ea924/32.png) [@lioncity](https://forum.sierrawireless.com/u/lioncity)\
**Post date:** [December 20, 2012, 1:19am UTC](https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010/6 "2012-12-20T01:19:45Z")

</div>

Hi Thibs,

For this sample testing(AWS AirVantage 4 PHP Sample @[http://developer.sierrawireless.com/en/Resources/Resources/AirVantage/Educational\_Documentation/Tutorial\_AirVantage4\_AWS\_PHP\_Sample.aspx](http://developer.sierrawireless.com/en/Resources/Resources/AirVantage/Educational_Documentation/Tutorial_AirVantage4_AWS_PHP_Sample.aspx)), is it possible to use the Devices/Assets indicated in the Demo Account to set up the System UID etc.?

Please kindly advise, thank you.

---

<div class="post-metadata">

**Author:** ![thibs](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/thibs/32/953_2.png) [@thibs](https://forum.sierrawireless.com/u/thibs)\
**Post date:** [December 20, 2012, 11:03am UTC](https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010/7 "2012-12-20T11:03:32Z")

</div>

You can use this application with any device/asset on any AirVantage 4 account (either trial or commercial) you have credentials on.

The demo account you are refering to, I guess, is the one displayed on the CLoud Platform page ([developer.sierrawireless.com/Clo … tform.aspx](http://developer.sierrawireless.com/Cloud%20Platform.aspx)). Unfortunately, this demo account still remains on AirVantage 3 platform for now, and no such Demo account is available on AirVantage 4 beta yet.

We should get such Demo account available on AirVantage 4 sometime soon (January? – I need to check with the team).

For now, I guess you need to register a Sierra Wireless device to your trial account (like a GX400). If you want to monitor data and send command using this application as well, you’ll need to follow one of our tutorials (like [this one](http://developer.sierrawireless.com/en/Resources/Resources/AirLink/ALEOS_AF/Tutorial_AAF_AirVantage_and_ALEOS_AF.aspx)) to create a simple embedded application running on this device as well.

.Thibs.

---

<div class="post-metadata">

**Author:** ![thibs](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/thibs/32/953_2.png) [@thibs](https://forum.sierrawireless.com/u/thibs)\
**Post date:** [January 11, 2013, 11:08am UTC](https://forum.sierrawireless.com/t/solved-tutorial-testing-failed/6010/8 "2013-01-11T11:08:33Z")

</div>

Hi lioncity. Happy new year to you!

AirVantage M2M Cloud has rolled out its 4.3 version yesterday.  
The AWS tutorial has been updated today: it better uses the OAuth authentication of AirVantage now.

Enjoy!

.Thibs.
