In Lenses 5.3, you don’t need to worry about manually deploying sinks or sources for backing up a topic and dealing with these errors. There’s a built-in feature to deploy the S3 connector for backup/restore use case with the optimized configuration.
You need to ensure your Kafka Connect nodes are running with an IAM user with access to your target S3 bucket. Then go to the explorer menu, select your topic, click on the Explore menu, and choose whether you want to back up or restore the topic. For more details, you can refer to the documentation through this link: