A bit more information on your project is necessary to give precise advice. Please check these guidelines to follow a useful format: https://community.tokylabs.com/post/guidelines-to-ask-in-the-community-hi-all-please-follow-this-pdf-to-receive--5fecb068f6e73cdad8ac983638
If I have to give you advice with the information you posted I would recommend you to check these general points:
- Use a wifi that is not 5g
- Ensure you are not exceeding the limit of one data published every 2 seconds. If the block "is IOT connected" is false ( in your project the LED is red) it means that the Adafruit service is not connected, or the data quota exceeded one publish per 2 seconds. It does not mean that is not connected to the wifi. To ensure the right performance, you can use the block in the photo below:
Finally, find in this link a good set of examples that use IoT and the associated code:
Hope you enjoy!