Hi @QSD449 and welcome to the Dash community
There isn’t quite enough information in your post to know what’s causing the error. It would be helpful if you could make a complete minimal example including some sample data that we could run and it would duplicate the error you are seeing.
You can learn more about how to do that here: How to Get your Questions Answered on the Plotly Forum