- Knowledge base
- powerGate
- Troubleshooting
Add-ErpMedia fails when passing value with dots to ContentType
Issue
When passing a value to Add-ErpMedia -ContentType parameter that contains a dot the Cmdlet fails with error "Cannot validate argument on parameter 'ContentType' ".
Solution
If no content type is specified powerGate attempts to determine the correct content type