HTML dashboard tile issue

I have a device with attributes. I made a html attributes inside of the device and my html works great inside device I can visualise my tile...But in the dashboard, my tile come to grey and its telling: add attributes. When I go inside driver code and remove 90% of the code, it comes back, then adding the rest of the code and it still there. But, later it return to the grey empty tile. My attribute text is returning like 5000 characters.
Dont know what to do and where could be the problem, the html looks great and works for a while before to go. My html attribute is refreshed every time one of the other related attributes are updated or by a manual button for now.
Tahnks!

I believe the cause of your issue is the size of the attribute. The length of the attribute needs to be no larger than 1024 for it to properly display on the dashboard.

1024 you mean the characters ? I ll try it... is there a way to have more? by dividing the attribute in 2 one after the other in the same tile? or something?

thanks!

No, it is bytes

latest update, other attribute are working...
my html one , I have to remove all exept the first card then add all other card one by one and its working...so no 1024 limit I think...
here what it looks like... why it ll be gone I dont know when its mistery!