Resolved the problem between MediaType and ContentType.