David Kimura PRO said about 3 years ago on StimulusJS, Active Storage and DropzoneJS :
When it made the post to your direct upload endpoint, it errored out with a 422. The Rails logs may help. Have you tried testing direct upload without any stimulus or anything else? You may have another underlying issue.