[DEV] error for the casting of element ==> request element type directly in API