It seems your data is not been loaded successfully, can you show your code? Or even better, a reproducible example (reprex) illustrating your issue? Please have a look at these resources, to see how to create one for a shiny app
https://mastering-shiny.org/action-workflow.html#getting-help