Error was not there but I was not able to sync the project.
Hi Tarun,
We are sorry for the inconvenience. I am afraid, It is quite difficult to suggest you anything without replicating issue at our end.
Please find attached a working sample project and try it at your end and share the results.
Best Regards,