Hello Marko Draisma,
Thank you for reaching out to Microsoft Q & A forum.
The 422 error typically occurs when a repository with the same name already exists in your GitHub account.
To resolve this, please check your GitHub repositories to see if one named connect-the-dots already exists.
If it does, you can either delete the existing repository or choose a different name when using the template (e.g., connect-the-dots-2).
Once done, return to the exercise and try again.
Please feel free to contact us if you have any additional questions.
If you found this answer helpful, kindly click the "Accept Answer" or "Upvote" button so it can assist others in the Microsoft Q&A community.