function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ 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 
<!--<allowedSubmitters>
<submitter>made@rest.com</submitter>
<type>user</type>
</allowedSubmitters>-->
If this information helps, please mark the answer as best. Thank you