Media creation failed with error message: 'The Parameter is incorrect'
Refer to Create TsMedia.log file to find more details.
If you look in the TsMedia.log file, you can see similar msg;
Failed to find content ID packageID in Content library <SMSPKG$>SCCMContentLib
Typically you see above error msg, when the content is not distributed to the DP. if you check the SCCMContentLib folder, you will be missing the package reference which mentioned in TsMedia.log file.
Re-distributing or updating the contents on the DP's will fix the issue.
TsMedia.log file can be located at
C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\AdminUILog