Aws iot basic


#1

Hi There,

I am a newbie with the DragonBoard 410c and AWS/IOT. I wonder if anyone has installed the starter kit by running

git clone https://github.com/ArrowElectronics/aws-iot-device-sdk.git

and then run install.sh

At the end of the process I have installed aws-iot-dragonconnect-c (for c/c++) and aws-iot-dragonpulse-js (for nodejs).

When I continue further in either two applications,

I have received the error
Creating IoT Policy of DragonConnect
ERROR:
Condition: undefined, Detail: Policy document is Malformed
{ [MalformedPolicyException: Policy document is Malformed]
cause:
{ [MalformedPolicyException: Policy document is Malformed]
message: ‘Policy document is Malformed’,
code: ‘MalformedPolicyException’,
time: Mon Jun 06 2016 01:24:56 GMT+0000 (UTC),
requestId: ‘7a2b6dcc-2b85-11e6-acdb-95760c86516c’,
statusCode: 400,
retryable: false,
retryDelay: 61.816368671134114 },
isOperational: true,
code: ‘MalformedPolicyException’,
time: Mon Jun 06 2016 01:24:56 GMT+0000 (UTC),
requestId: ‘7a2b6dcc-2b85-11e6-acdb-95760c86516c’,
statusCode: 400,
retryable: false,
retryDelay: 61.816368671134114 }

May the GURU or Expert show my the direction to resolve this issues.

Thank you very much in advanced.

Regards, Henry


#2

Henry - are you the same Henry as hlkn?


#3

@henry.nguyen

Thank you for your patience. We are currently looking into this issue.

Have you seen this resource?
https://developer.qualcomm.com/project/amazon-web-services-aws-iot

Did you get this kit from Arrow?


#4

Hi Robert,

Henry Nguyen is hlkn.

Yes. We purchase the DragonBoard from Arrow. Our contact is sale person is

Email : johan.samuelsson@arrowasia.com
Web : http://www.arrow.com/

Regards, henry


#5

Hi Robert,

In regarding the malformed policy, I believe that I sorted it myself. As the Access Number (12 digits) is different from Access Key ( x alphanumerics).

Regards, henry