500 Internal Server Error for obtaining bearer token


#1

I’m having an issue with my API request for the bearer token. The data I get back is

“HTTP/1.1 500 Internal Server Error Twitter / ErrorHome ?Something is technically wrong.Thanks for noticing?we’re going to fix it up and have things back to normal soon…”

I tried taking out the authorization header to see if there was something wrong on my end and then I get
"HTTP/1.1 403 Forbidden [errors:[[code:99, message:Unable to verify your credentials, label:authenticity_token_error]]]"

which now has me a little stuck since Twitter can recognize the lack of authorization in the header. Any suggestions on how to resolve this? Thanks!


#2

How are you formulating the request? What’s the HTTP environment like? What kind of additional HTTP headers might be set?