+ Start a Discussion
Roman RegmiRoman Regmi 

I am trying to deploy my app to a sandbox scratch org. But I user does not exist error.

How do I add the user in my XML file. User-added image
SwethaSwetha (Salesforce Developers) 
HI Roman,
The cause for the issue would be the difference in the Username between source and target Orgs. You can try to make changes in the Username or comment on the below lines of code in the XML file 
If this information helps, please mark the answer as best. Thank you