Hi @Sayyed Anas,
1, What model of machine you are deploying? Is your environment integrated SCCM with MDT?
2, Which steps did the error occurring in the task sequence? After this error occurs, can the task sequence be continued? Please help upload smsts.log for our reference.
3, Besides, there are several similar threaders for your reference:
OSD - USB insert media #1 for the task sequence (microsoft.com)
https://www.reddit.com/r/SCCM/comments/itr2lp/sccm_offline_media_error_insert_media_1_for_the/
Note: Microsoft provides third-party contact information to help you understand the problem. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
Looking forward to your feedback.
Best regards
Cherry