gordon-AWS wrote on January 24, 2020:
Glad you figured it out!
Unrelated: are you calling AwsIotShadow_Cleanup somewhere before the call to AwsIotShadow_Init? You must call AwsIotShadow_Cleanup to avoid leaking memory if AwsIotShadow_Init was called before.