Questions tagged [bug]
Indicates you've found an erroneous or unexpected behavior in the Stack Exchange API, or the Stack Exchange HTML or CSS, that needs to be fixed.
449
questions
4
votes
1
answer
128
views
questions method returns error 4000
I'm getting error 4000 on every endpoint on questions method (with key):
http://api.superuser.com/1.0/questions?sort=votes&pagesize=30&page=1&key=stackprinterkey
the only endpoint not ...
4
votes
1
answer
114
views
http://stackauth.com/0.8/sites down
I realize you may be shaking something out but in case you are not aware:
http://stackauth.com/0.8/sites is returning
{ "api_sites": [] }
4
votes
2
answers
108
views
Possible bug in the help page?
There are some weird dot things in this help page:
api.stackoverflow.com/0.8/help/method?method=users/{id}/badges
{Dead link to missing image: http://files.quickmediasolutions.com/stackbug.png}
...
4
votes
1
answer
86
views
Getting error 4002 when calling tags method without a sort parameter
According to the documentation, calling the tags method without a sort parameter should return the recently used tags, since the default sort is by activity.
Instead, I get an error 4002 with the ...
4
votes
1
answer
146
views
Comments have incorrect `can_flag` values for at least 2 different API routes
I am trying to see and show whether a comment on question/answer is flagged by the authenticated user.
But whenever I use /questions/{ids}, can_flag is true irregardless of whether the user (me) can ...
4
votes
1
answer
62
views
Reputation changes from accepting answers to questions are not included in reputation results
When querying the /users/{ids}/reputation API route, the results don't include the +2 reputation changes from accepting answers.
None of the reputation results from my own reputation history have a ...
4
votes
1
answer
52
views
Stylistic error on the JavaScript SDK documentation page
There is a small stylistic error on the JavaScript SDK documentation page.
Your application must have the client side OAuth flow enabled, and must not have disabled the desktop application redirect ...
4
votes
1
answer
1k
views
Why do I get a throttle violation after 300 requests while using a key but no access_token?
I'm doing some testing on my app, and I let it run on a machine this afternoon while I was away. When I got back, I was geting 503 throttle violation errors from my API calls.
I was calling the "...
4
votes
1
answer
152
views
Certain users aren't showing up in /users when filter is applied
NB: The filter parameter in v1.x of the API had a different meaning to the filter parameter in v2.0
Consider the following query:
http://api.stackoverflow.com/1.1/users?filter=jon%20skeet
This ...
4
votes
1
answer
880
views
Wrong content-type in JSONP calls
When passing jsonp parameter, the API returns "application/json" instead of "application/javascript".
I found this because if you do:
<script src='http://api.stackoverflow.com/1.0/badges?jsonp=...
4
votes
1
answer
228
views
update crossdomain.xml on stackauth.com and api endpoints to work with current Flash
I am implementing a javascript client that uses the Flash based XHR replacement Flensed in the interest of providing more robust api communication than that provided by JSONP.
Apparently the current ...
4
votes
1
answer
75
views
Encoding inconsistency on /users/{id}/reputation
Take these two calls:
http://api.stackoverflow.com/1.0/users/180784/reputation?todate=1278854265&pagesize=1
"title": "Save a custom ListView's instance state?",
http://api.stackoverflow....
4
votes
1
answer
76
views
Questions method does not return answers
I think questions method also return answers too and the help page says so
http://api.stackoverflow.com/0.8/help/method?method=questions
....
"answers": [
{
"answer_id": {
"...
4
votes
2
answers
158
views
Request with Invalid key still return the content and rate limit stepped down into No Key Limit
For example
http://api.stackoverflow.com/0.8/stats?key=TEST1234&type=jsontext
Request with Invalid key still return the content and rate limit stepped down into No Key Limit
X-Ratelimit-...
4
votes
0
answers
58
views
/articles api filtering on tag does not return any results
I am attempting to pull the articles from my company's collective. They are all returned when no tagged filter is used.
This should return results for the articles tagged wso2 or is there a different ...
4
votes
0
answers
48
views
/revisions/{ids} returns wrong body
Since a couple of days, the /revisions/{ids} method returns a wrong value for the body field. An example is this Ask Different post. When viewing the (only) revision on the website, you see that the ...
4
votes
0
answers
55
views
OAuth Dialog has all content positioned off-screen
When using https://stackoverflow.com/oauth/dialog, the OAuth dialog renders correctly on my normal browser window. Opening it inside a modal however results in an empty window, because body has a min-...
4
votes
0
answers
33
views
Is it a bug that the /sites route always returns zero for total?
I want to know how many Stack Exchange sites there are.
Querying http://api.stackexchange.com/2.2/sites, using a filter that makes total appear, I find that the value is always zero.
For example,
&...
4
votes
0
answers
45
views
API returns delete vote count for questions, but not for answers
The questions method of the API returns the number of delete votes among other kinds of votes: sample query.
But the answers method does not have a delete_vote_count field available in the filter:
...
4
votes
0
answers
118
views
Byte Order Mark suddenly appearing in query results
Query results seem to have started including BOMs sometime today. I had to add code to handle it.
I don't see this documented anywhere.
4
votes
0
answers
76
views
Total reputation reported by the /users/{ids}/reputation route is low
When querying the /users/{ids}/reputation API route, the total amount of reputation I get back from all reputation changes is much lower than my reputation reported on Stack Overflow. Here's my ...
4
votes
0
answers
17
views
Not all sites are returning Hi Res icons
In the /sites method, not all the sites return high_resolution_icon_url field. (e.g. Personal Finance and Money) Although if you add "@2" to the normal resolution icon you can see a high res image ...
4
votes
0
answers
104
views
Implicit OAuth Flow stopped working. Redirect happening to a non existent URL [duplicate]
The following URL is first hit when a user clicks on Login:
https://stackexchange.com/oauth/dialog?client_id=202&redirect_uri=https%3a%2f%2fstackexchange.com%2foauth%2flogin_success&scope=...
4
votes
0
answers
35
views
Link to applied_count leads to a 404
To Reproduce
Run an API query on tag-synonyms, you will get a result that includes something like this:
Issue(s)
Click on the applied_count link and you get redirected to this page which is a 404.
It ...
4
votes
0
answers
116
views
Parameter `tagged` in `search/advanced` seems to use `AND` instead of `OR`
It seems that search/advanced has the same problem as in "The tagged parameter does not work with multiple tags" question.
When I select c#; .net I only get results tagged both c# and .net:
http://...
4
votes
0
answers
90
views
API v1.1 users call returns association_id for which the Stack Exchange web site has no profile
For a particular user, the users API v1.1 call returns an association_id that gives a "Page Not Found" error where the Stack Exchange profile should be, though their Stack Exchange profile can be ...
3
votes
1
answer
990
views
400 - Bad Request - Invalid URL errors with HTML response
Since a few weeks, I'm getting 400 - Bad Request errors now and then, on pretty standard API calls like fetching post details. This is the response I get:
<DOCTYPE HTML PUBLIC "-//W3C//DTD ...
3
votes
2
answers
73
views
Sorting comments by votes doesn't return 0 score comments
I have a query:
http://api.stackoverflow.com/1.0/users/16822/comments?sort=votes
This doesn't return comments with no votes, setting min to 0 doesn't work. This query includes them all, but isn't ...
3
votes
1
answer
100
views
StackApps Captcha doesn't work: "Invalid domain for site key"
The Captcha page on this site doesn't seem to be set up correctly, it shows an error message:
ERROR for site owner:Invalid domain for site key
3
votes
1
answer
73
views
503 errors on batch get questions endpoint
I receive a lot of "socket hung up" and 503 Service Unavailable on the /questions/{ids} endpoint. I make requests in batches: 10 parallel requests with 15 question ids, interval between each 10-size ...
3
votes
3
answers
171
views
Negative voting questions?
I'm trying to, for humorous purposes, check out some of the worst scoring questions ever on SO.
I'm pretty much expecting them to all be "heeeeelp homework" or "plz send me teh codez" or something to ...
3
votes
1
answer
81
views
What does `total` in the /notifications route represent?
What does total in /notifications represent?
I ran it.
The result was items in Common Wrapper Object was array of 24 items where as total was 4.
3
votes
1
answer
72
views
Invalid HTML characters in questions bodies
While writing an Android App that shows questions from the SE network, I've noticed that the SE REST API returns invalid HTML characters; after a bit more of researching I've found it's not the API ...
3
votes
1
answer
389
views
"OAuth request must be over HTTPS" when request is over https
I had a bug reported to me that I was able to reproduce. When authorizing to my Badges webapp, we get the following error:
error: invalid_request
error description: OAuth request must be over ...
3
votes
1
answer
63
views
Problem with /search tagged and max
Seems like a problem with /search when max is not set to today, and tagged is given:
https://api.stackexchange.com/2.1/search?order=desc&max=1358294400&sort=activity&tagged=java&site=...
3
votes
1
answer
89
views
Why is "body" missing from certain inbox items?
I have run into some confusion over the presence of the body attribute in an inbox-item returned by the /inbox method.
When item_type is set to "careers_invitations", the body attribute appears to be ...
3
votes
1
answer
38
views
Querying "standard meta tags" for their tag wikis wrongly says they have none
I'm checking which tags have tag wiki excerpts in my code. It looks like /tags/{tags}/wikis is the right API since the tag info API doesn't even give a boolean for tag wiki excerpt presence.
But ...
3
votes
1
answer
43
views
tagged and min max creation gives wrong total
I am trying to get the total number of question with a specific tag AND created within a specific date span.
For example, the number of questions tagged as 'java' created between 16 and 17 Jan 2012:
...
3
votes
1
answer
57
views
Events: field request
The "Event" object doesn't have an easy way for getting at the object relating to the event. There's a link field, but I don't fancy having to parse the information out of that (although I could).
...
3
votes
1
answer
64
views
"Authentication Statistics" graph y-axis labels are overly granular
Yesterday there was a spike in my app's authentication requests (thanks for that, by the way ;) which has caused my authentication graph to show a much wider range of Y values than it did previously. ...
3
votes
1
answer
26
views
Is the display name meant to be escaped HTML in the 2.0 version of the API?
The display_name field of a user is HTML escaped. See here for example.
Is this expected behavior or a bug? The documentation doesn't mention it.
3
votes
1
answer
67
views
HTTP 500 error when calling /apps/{accessTokens}/de-authenticate with an access_token argument in GET
For almost all API calls, I pass both my key and my access_token. This doesn't exactly make sense for the "de-authenticate" endpoint, as the access token is already in the URL. Passing one anyway ...
3
votes
1
answer
54
views
What happened to the unique users count?
When visiting https://stackapps.com/apps, I used to be able to see how many unique users were using my application - but now all I see is zeroes for all of the apps.
Were the numbers reset or is this ...
3
votes
1
answer
87
views
How do you retrieve list of users sorted by reputation?
I am failing in my attempt to retrieve results sorted by reputation. For example, the following query sorts the results by ID. Is there an error in the URI?
http://api.stackoverflow.com/1.1/users/...
3
votes
1
answer
182
views
Reputation query doesn't match that on SO
This morning, at 2011-04-06 00:22:38Z, I received a question upvote for this question. That shows up as giving me 5 reputation when looking at the Stack Overflow reputation page.
However, when I use ...
3
votes
1
answer
102
views
Comments in user timeline are returning Markdown
In users/{id}/timeline, the detail field for comment events is formatted with Markdown and not HTML. Is it normal?
I saw in the question Comments are returning markdown that the API should return HTML ...
3
votes
2
answers
75
views
Inconsistency in the handling of multiple IDs with a duplicate
There appears to be some inconsistency in the way multiple ids are being handled, especially when a duplicate exists.
Duplicate ID is significant
For example, when requesting a timeline of multiple ...
3
votes
1
answer
111
views
What's the relation between access_token, key, quota_max, and throttling?
From How API Keys Work (FAQ) I read that the limit of requests per day per IP is 300 without a registered key, or 10000 with it.
And this is what I see by experimenting myself: since I've not ...
3
votes
1
answer
61
views
Wrong results for fetch timeline from offset
To get the timeline for a question I am sending this request:
https://api.stackexchange.com/2.2/questions/63299112/timeline?site=stackoverflow&fromdate=1597649222
I am getting empty results:
{&...
3
votes
1
answer
99
views
Paging fails at 10K items for /search on any site but Stack Overflow
There's a problem with requesting more than 10,000 items.
With Stack Overflow it works just fine.
But with Super User, Server Fault, etc. no items are returned for requests for items after the 10,...