400 bad request occasionally

Archived from the Transloadit support forum. Originally posted on January 31, 2012; details may be outdated, see our docs for current behavior. Original thread

Hi folks

We’re using your jquery plugin to submit forms to you. Starting around an hour ago, our users started complaining that they’re seeing “400 Bad Request” errors with the url “http://api2.transloadit.com/assemblies” being left in the url bar. We’ve seen it as well, it seems to come and go.

Are you aware of this issue?

We also are seeing an error from the jquery plugin at form submission time. Again, this is only happening about one out of three requests.

More info – It looks like we’re sometimes getting a 400 Bad Request back when the browser attempts to load the jquery plugin:

Is there something wrong with your asset server?

Hey there,

thank you for reporting this. We haven’t heard about this issue so far, but we’ll investigate it thoroughly and then get back to you.

Sorry for the inconvenience. : /

Kind regards,
Tim

Hello (sorry didn’t catch your name),

I’ve been trying to reproduce getting the 400 code from our servers to no avail. Could it be that your requests are routed through a proxy of some kind? Maybe it adds headers that our servers do not understand?

If you want you can try to single out 1 production server, for instance:

curl -sL -w "%{http_code} %{url_effective}\n" "http://assets.tequila.transloadit.com/js/jquery.transloadit2.js" -o /dev/null

If you keep getting a 400, then I can login on tequila and monitor the logs, maybe the server will explain what exactly is happening with your request.

Let me know if you want to setup such a debugging session.

Hey there,

did you see Kevin’s reply above?