Issue with uploads via API #5557
Unanswered
eavalenzuela
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I've been working on a script to upload images, and I'm running into an issue where the
uploads.json
endpoint is giving me a 403:{"success":false,"error":"ActionController::UnpermittedParameters","message":"found unpermitted parameters: :rating, :tag_string","backtrace":["app/controllers/uploads_controller.rb:13:in create\'","app/logical/rack_server_timing.rb:18:in call\'"]}
The code I'm using is
Note: I've also tried passing those 2 fields as POST data, in which case it also flags the
file
parameter as unpermitted.I'm sure this is just an issue of how I'm passing the data, so I'm hoping someone here can spot what I'm messing up.
Cheers!
Beta Was this translation helpful? Give feedback.
All reactions