This is a cache of https://discuss.96boards.org/t/aws-iot-basic/699. It is a snapshot of the page at 2024-10-31T03:59:56.356+0000.
Aws iot basic - DragonBoard410c - 96Boards Forum

Aws iot basic

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

Henry - are you the same Henry as hlkn?

@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?

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

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