- Newest
- Most votes
- Most comments
Thank you for your response. I have just seen this type of log:
{ "timestamp": "2024-08-02 14:10:11.895", "logLevel": "ERROR", "traceId": "101690654900000000062769xxxxxx", "accountId": "xxxxxxxxxxxxxx", "status": "Failure", "errorCode": "ResourceRegistrationFailureException" }
There is no error message in the log.
Is there a problem with the template or the attached policy because I have seen that a certificate has been generated in iot->safety->certificate but with the status "pending activation" and no thing is registered nor a policy is attached.
Thank you!
In CloudWatch, the error code is ResourceRegistrationFailureException.
Hi. I think the CloudWatch log entry should have an error message in addition to this error code. If so, this should give a clue.
Relevant content
- asked 2 years ago
- asked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 10 months ago
Please take a closer look at your jitp-role. Perhaps modify the question to add details about that role.
Thanks for your quick support. But I had a problem with template "Parameter" section and therefore I am not able to get a successfull result. But now it works perfectly fine. Thanky you so much again!
What was the error? I can't see the issue.
I am not very sure about that but when I change the template like this and that works for me: { "Parameters": { "AWS::IoT::Certificate::Id": { "Type": "String" }, "AWS::IoT::Certificate::Country":{ "Type":"String" }, "AWS::IoT::Certificate::CommonName": { "Type": "String" } }, "Resources": { "thing": { "Type": "AWS::IoT::Thing", "Properties": { "ThingName": { "Ref": "AWS::IoT::Certificate::CommonName" }, "AttributePayload": { "version":"v1", "country":{ "Ref": "AWS::IoT::Certificate::Country" } } } }, "certificate": { "Type": "AWS::IoT::Certificate", "Properties": { "CertificateId": { "Ref": "AWS::IoT::Certificate::Id" }, "Status": "ACTIVE" } }, "policy": { "Type": "AWS::IoT::Policy", "Properties": { "PolicyName": "jitp-policy" } } } }