AVMutableComposition export error

I need help with AVMutableComposition export when using AVAssetExportSession. I am getting the following error:

Error Domain=AVFoundationErrorDomain Code=-11800 “The operation could not be completed” UserInfo={NSLocalizedFailureReason=An unknown error occurred (-17383), NSLocalizedDescription=The operation could not be completed, NSUnderlyingError=0x280db9b00 {Error Domain=NSOSStatusErrorDomain Code=-17383 “(null)”}} ||| The operation could not be completed

Not sure what caused it in the first place so tips would be appreciated.

Please check the link below