Animation Toolkits FBX export fails to import to UE4

I had this exact problem because I had not skinned my bones to my mesh. I also had to disable rigid bones/mesh in the import dialogue and enable the mesh bones option.