My animation are not working but i have set everything up correctly and when i try preview the animation i get an error

Saving has no effect. Your class ‘UnityEditor.AvatarPreviewSelection’ is missing the FilePathAttribute. Use this attribute to specify where to save your ScriptableSingleton.
Only call Save() and use this attribute if you want your state to survive between sessions of Unity.
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)