Post status resolves in http request error 400



i wrote a pl/sql package for sending tweets to my account with ‘’.

a few weeks ago, everything was ok, but now i get an error while receiving the http.response.

Error is: ORA-29268: HTTP client error 400 - Bad Request

I am using oAuth and within oracle the wallet !

Thank you for help.




What else have you tried to debug? Try taking a look at any response body or status message that comes with the HTTP 400 – maybe you’re not encoding some parameters correctly. Maybe there’s an issue with the account that you’re trying to post with.


Hello Taylor,

i have set UTL_HTTP.set_response_error_check (false); from true to false and got the full response from the twitter site.
It shows now {“errors”:[{“message”:“Bad Authentication data”,“code”:215}]}
but i have no idea what’s the reason.

Do you have any idea ?


I’d take a look at how your OAuth request is formulated. This method has been more lenient with alternate encodings in the past but is relatively strict now. Some libraries get some minor things incorrect.