@Luke Wang Glad to know that the issue has been resolved and you are unblocked. Appreciate much for sharing the findings here.
Just summarizing the solution in Answer section so that it might be helpful for other community members reading this thread.
The above error occurred due to a Sync issue between ADF and GIT repository. Once removing and re-syncing the Git Repository with ADF the issue got resolved.
Thank you
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.