Cast Rotation to Quaternion error?

For me, I can only get this to work by breaking a vector attribute and then using the Make Rotator Attribute node, linking up the x, y and z to Roll, Pitch and Yaw, respectively. Then the attribute cast to Quaternion should work.