Background The medical profession has traditionally had a culture of “blame and shame,” despite the importance errors have for learning, motivation, and improvement of clinical skills. This study aimed to explore how medical students and newly graduated doctors perceive errors across different learning contexts and levels of expertise, and how error perceptions influence motivation and engagement in learning activities. Methods Semi-structured interviews were conducted, and thematic analysis was used to identify themes. Survey questions were developed based on the themes. The final survey included 27 questions divided into three sections. The survey was distributed via RedCap to medical students in year 1, year 4, and year 6 together with newly graduated doctors in Denmark. Results Of the 541 respondents, a majority anticipated making errors in both non-clinical (77.4%) and clinical (61.5%) learning situations, finding them motivating for participation (91.9% and 96.2%, respectively). A psychologically safe learning environment was seen to enhance the perception of errors as learning opportunities (96.9%) and increase risk willingness (96.3% non-clinical, 97.7% clinical). Respondents focused on the specific errors they made (86.0%), and their supervisors were perceived to focus more on correct handling of errors (70.7%). Respondents expected to conduct fewer errors in non-clinical learning situations in PGY-1 compared to medical students in year 1 (F(3529) = 3.0, adjusted p = 0.03). They showed an increase in risk willingness in clinical learning situations from year 6 to PGY-1 (F(3520) = 2.7, adjusted p-value 0.006) as long as the learning situations were considered psychologically safe. Conclusion The study suggests that a psychologically safe learning environment mitigates the “shame and blame culture” associated with errors. Respondents generally embraced errors as valuable learning experiences but noted a lack of specific error-related feedback. These findings underscore the nuanced relationship between errors, explicit learning activities, and supervisor support in medical education.