Hi Stanley,
I've replicated the example with the same version you are using and had no problem.
So here is a couple of things to try as its possible something was not copied to project correctly.This is assuming you have made no other changes in the example than the two files you mentioned 'aws_clientcredential_keys.h' and 'aws_clientcredential.h'.
So double check the following:
In 'aws_clientcredential.h', make sure thay these four match exactly with your thing's endpoint and name, as well as your internet credentials.


In the 'aws_clientcredential_keys.h':
Download the keys again and copy them to the file.
First detach the current one.

Next click on creat certificate and download "A certificate for this thing" and "a private key" and click on activate.

Then "Attach a policy" & copy each key to the file again.
Last, I'd recommend to change the console to UART as I mentioned before the semihosting causes issues in the behavior. You can do this by selecting the example and in the Quickstart panel >> Quick Settings >> SDK Debug Console >> UART

Please try this and open your thing's shadow again, refresh the page if you still see the open brackets as you mentioned, to see if it changes.
Let me know the results.
Best Regards,
Sabina