Mistake: medium_type should be a string.