This function took innerConstraints as an argument but used constraints internally.
Attach a file by drag & drop or click to upload