As a last resort it was calling a method that didn't exist. Woops!
Attach a file by drag & drop or click to upload