Sails version: 0.12.1
Node version: 6.9.2
NPM version: 3.10.9
Operating system: Windows 10
It seems that when two models are related via a many-to-many relationship using the through attribute property, and one of the models is updated via HTTP PUT, having the attribute using the through updated as well, sails throws a 400 error.
I've created a repository that reproduces this error. Please read the README.md file there. This is my repository that reproduces this error:
https://github.com/AskYous/sails-through-error/