we have a table and we added the Attachments table as a lookup field. we added a multi step form for the file upload but when we try to upload files we get this error:

{"error":{"code":"9004010D","message":"Common Data Service error occurred.","cdscode":"0x80040217","innererror":{"code":"0x80040217","message":"No file attachment found for attribute: pa2_attachmentfile EntityId: xxxx."}}} There are no customizations done on the upload form and it was working days before