403 - forbidden error


#1

Hi There,

from last two days our api has stopped working and getting following error:
Struct
errordetail
string 403 Forbidden
filecontent
string
header
string HTTP/1.1 403 Forbidden content-length: 0 date: Wed, 22 Jan 2014 18:00:09 UTC server: tfe set-cookie: guest_id=v1%3A139041360924723058; Domain=.twitter.com; Path=/; Expires=Fri, 22-Jan-2016 18:00:09 UTC
http_version
string HTTP/1.1
mimetype
string Unable to determine MIME type of file.
responseheader
Struct
content-length
string 0
date
string Wed, 22 Jan 2014 18:00:09 UTC
explanation
string Forbidden
server
string tfe
set-cookie
Array
1
string guest_id=v1%3A139041360924723058; Domain=.twitter.com; Path=/; Expires=Fri, 22-Jan-2016 18:00:09 UTC
status_code
number 403
status_code
number 403
status_text
string Forbidden
statuscode
string 403 Forbidden
text
boolean true

Please help us and let us know, what has gone wrong?

Thanks

Philip


#2

My app is TweetFace - Write Long Tweets


#3

Aren’t you trying to connect to the API using HTTP? Since last week the API is HTTPS-only.


#4

Thanks, I will check it and let you know, there was one call for accessendpoint was in http only, after I changed it, it let me in.


#5

According to the docs, all 403s will return “An accompanying error message”. https://dev.twitter.com/docs/error-codes-responses

Clearly this isn’t happening here. Would it be possible to update the API to make debugging easier?


#6

Well a 403 forbidden is a good sign that this is a request that should be over HTTPS but is sent as HTTP. Please add the endpoint/url you are trying to reach, this will help us help you.


#7

I have setup SSL but its still giving Forbidden 403 Error