Hi Quan. Thanks so much for he reply. I took a look at the stack trace. It was what I had in the publishEvent i.e. FindIndexing, that was interfering with it. I manage to get it working without the indexing. I just need to figure out how to get it all working with the indexing.
I am current getting the exception below when creating a new variant using contentRepo.Save(createVariation, SaveAction.Publish, AccessLevel.NoAccess). What makes this more strange is that I am able to save a product agains the same category but not the variant. Been struggling with this for hours :(. I am using the latest version of Epi and Epi Commerce.