# Error exporting animation as GLTF file

I have made a very basic animation in Blender (2.79) and I am trying to export it as a GLTF or GLB. I have succesfully installed the gltf exporter and am able to export both gltfs and glbs of unanimated models no problem.

As soon as I add animation and try to export however, I get the following error message

The animation is as about as simple as it could be, I'm just experimenting. Its just the default box that changes location and rotation across 3/4 keyframes.

I am new to Blender so perhaps I am missing a step but my process is as follows: Add box to the scene, add keyframes (LocRot), go to export as I would with a static object, this has the following (default) settings.

I have tried clicking Pushdown on the action sheet as I have seen suggested somewhere but it makes no difference.

Am I missing something? Please let me know if you need any more info in order to advise, I'm happy to share the file or whatever might help.

Thanks for any help,

• Hi, thank you for the suggestion but the keyframes start check did not make a difference. It was the force sample animations one that I was missing (see my answer). – Nick Dec 7 '18 at 22:35
So after seeing someone else's export settings (thanks to the a-frame slack channel) I have got this working. I needed to have force sample animations selected in the animation export settings. Then it exports no problem and works as expected. Answering my own question in case anyone else has this problem.