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.

Filter by
Sorted by
Tagged with
1
vote
0answers
4 views

List /network-activity methods under Network Methods in the documentation

The API methods /users/{id}/network-activity and /me/network-activity, both return a summary of a user's activity across the Stack Exchange network and do not take a site parameter. They are ...
3
votes
0answers
28 views

API 404's when I try to fetch related tags for the `bin` tag

If you query the API for tags related to [bin]: https://api.stackexchange.com/2.2/tags/bin/related?site=stackoverflow this simply returns: Invalid JSON returned and a 404. (live demo) But it ...
2
votes
1answer
56 views

After successfully retrieving 180 pages, the API gracelessly, semi-silently, fails

I'm trying to synchronize tags using the Stack Exchange API and this works for about 180 pages, but around 180 pages it always ends with an exception that seems to indicate that there is no HTTP ...
4
votes
0answers
29 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 ...
3
votes
0answers
29 views

Tags are not returned when querying /users/{ids}/answers

I'm querying the API for answers-by-user, and I want the tags belonging to the parent questions. I seem to be seeing intermittent results: sometimes the tags attribute of the response includes the ...
2
votes
0answers
29 views

Linked questions API call fails for frequently asked questions on Stack Overflow

The Linked Questions API fails for some of the Frequently Asked Questions on Stack Overflow, maybe because of the sheer amount of linked questions they have. As an example, take What is a ...
1
vote
0answers
44 views

The authentication doc gives a wrong domain for authentication

The authentication doc page now lists URL's like: https://stackoverflow.com/oauth https://stackoverflow.com/oauth/access_token etc. While these seem to work, the correct domain is stackexchange.com, ...
1
vote
1answer
48 views

Why am I getting an “Access token sent over non-HTTPS request, it has been invalidated” message?

I've been using the Stack Overflow for Teams API for a while now, but since yesterday it stopped working for one of the Teams; that Team also wasn't listed in the Applications (https://stackoverflow....
1
vote
1answer
40 views

Why doesn't the API return a 'locked date' for this locked answer?

This answer has been locked, yet when I ask the API about this post it fails to return a locked_date: It's a rather old lock, but I can't see anything suspicious in the timeline or the Post History.
2
votes
0answers
39 views

“Javascript” typo on documentation pages

On page Usage of /sites, it should be JavaScript, not Javascript, in the right sidebar: This obviously also applies to (most/all) API documentation pages, since they share the sidebar.
4
votes
1answer
66 views

/questions returns wrong markdown when a suggested edit is improved

The /questions API method returns wrong markdown when the last revisions were made by a suggested edit improved in the review queue. This event leads to two revisions (one for the suggested edit and ...
3
votes
0answers
34 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-...
0
votes
0answers
24 views

Strange pagination behaviour of /search/excerpts [duplicate]

In an attempt to (automatically) restore broken images* which have originally been included as HTTP links, I've tried to use /search/excerpts to look for candidate posts; specifically, I'm setting the ...
2
votes
0answers
23 views

.wrapper not sorted correctly in filter edit popup

When editing the filter, e.g. on this API documentation page, all types are sorted alphabetically except for .wrapper which is always shown below answer, instead of above it (or at the end): ...
6
votes
0answers
47 views

Typos in API documentation

From the /posts documentation: Most applications should use the question or answer specific methods, but /posts is available for those rare cases where any activity is of intereset. intereset => ...
6
votes
0answers
33 views

Docs say the API returns a user's age, but it doesn't (anymore)

The doc page says that the user object returns an age property (for those users that specified an age). But the API  no  longer  does.   (Plus spot checks of users that had age in ...
3
votes
1answer
60 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,...
2
votes
0answers
26 views

Spelling mistake in API Documentation's “Authentication” page

Can you find the spelling mistake in "Unregistered Users" (last section) of the Authentication page? In case you're not in the mood for games, here is it: This is actually a correct spelling - of ...
3
votes
0answers
54 views

/synonyms sorting is majorly broken

I'm requesting /tags/synonyms data in descending order by creation date, but the order is jumbled up: The first date is 2017-08-22 where as the second one is 2018-03-16. The same can be observed for ...
2
votes
1answer
69 views

The new implicit authentication dialog doesn't handle comma-delimited scopes

The authentication docs state that the scopes parameter of the URL to which a user should be directed to, for implicit authentication, should be a list of scopes that are delimited by either commas or ...
1
vote
0answers
48 views

Stack Exchange Javascript SDK implicit OAuth2 bugs in `SE.authenticate`

I've tried to set up an implicit authorization workflow with JavaScript SDK version 2.0: <script type='text/javascript' src='https://api.stackexchange.com/js/2.0/all.js'></script> I was ...
2
votes
0answers
28 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, &...
1
vote
1answer
52 views

Stack API doesn't return json with encoding of UTF-8

Here is the query RESULT { "items": [ { "badge_counts": { "bronze": 2, "silver": 1, "gold": 0 }, ...
2
votes
1answer
39 views

What does “in practice” mean here?

From /answers/{id}/delete: In practice, this method will never return an object. For me, "in practice" means that the method will maybe return an object. But why? That's not good from an ...
2
votes
0answers
28 views

“users” link lands on the answer page

On the /users/moderators documentation site, the following link is wrong: This method returns a list of users. The users link mistakenly points to the answers object instead of to the users object....
6
votes
0answers
74 views

Revisions API doesn't return all revisions if post has had multiple edits made in quick succession

I am pulling information from the posts API and then checking the revisions API for some of these posts. I am noticing that on posts which have had multiple revisions done in quick succession that the ...
3
votes
0answers
38 views

Authorization dialog shows wrong API version

If you go on this doc page and click on Get Token, you'll see this: Minor bug, but still, I thought it would be nice to fix this inconsistency :)
3
votes
0answers
29 views

The tags array is missing from answer results

I'm probably missing something very obvious but it seems like /users/{ids}/answers forgets to include the tags badge in the resulting answer object: tags (2.1) an array of strings Nowhere does ...
3
votes
1answer
48 views

“backoff” missing when updating questions

I updated a couple of questions with the questions/{id}/edit method and got the following error: { "error_id": 407, "error_message": "You cannot perform this action for another 14 seconds", ...
3
votes
1answer
121 views

“Try It” URL has wrong URI

On API doc pages, the “link” link at the top-right of the “Try It” sections presents a URL with the wrong domain name: For example, on docs/similar, the URL displayed will be: https://api....
3
votes
0answers
69 views

Only Stack Overflow has documentation, but the API erroneously lists documentation privileges for all sites

Privileges related to Stack Overflow Documentation are displaying in every other site's API data. Using Meta Stack Exchange, for example, /2.2/privileges?site=meta returns the following documentation ...
8
votes
2answers
105 views

Stack Apps homepage truncates user names

A picture says more than a thousand words: These users aren't called "Bhargav Rac" and "Tunak", but Bhargav Rao and Tunaki. This happens on both the 'apps' and 'scripts' tabs of the Stack Apps ...
4
votes
1answer
81 views

The answer object returns an empty array for tags

Since version 2.1, the answer object has a field called tags. However, sometimes, an empty array or even nothing is returned in this field: Example with the filter !-*f(6t0Vk01e. Am I doing ...
2
votes
0answers
21 views

'search_excerpt' type issues

On the search_excerpt page: community_owned_date should be marked as may be absent locked_date should be marked as may be absent search/excerpts should be listed in the Methods That Return This Type ...
3
votes
0answers
33 views

Types missing from the “Member Types” section

The following types are not listed on http://api.stackexchange.com/docs?tab=category#docs under the Member Types section: network_post closed_details original_question Note that it's a nonexhaustive ...
2
votes
0answers
28 views

New line missing between 'notice' and 'related_site' member types

At the bottom of http://api.stackexchange.com/docs?tab=type#docs under the Member Types section, notice and related_site are on the same line. A <br> is missing between the items.
3
votes
0answers
37 views

'answer' type has “unchanged in unsafe filters” listed for the wrong field

http://api.stackexchange.com/docs/types/answer says the can_flag field is unchanged in unsafe filters. It's probably meant for the field above it: body_markdown.
6
votes
1answer
137 views

JavaScript SDK-based workflow never pushes message back from OAuth login_success page on Stack Exchange side

I'm using the JavaScript SDK by Stack Exchange provided with the latest API, and despite following the official instructions & examples it doesn't work - it seems there is a bug which breaks the ...
20
votes
1answer
245 views

Stack Exchange thinks that Shog is a elected moderator

I was browsing the API for the list of elected moderators, The API URL is http://api.stackexchange.com/docs/elected-moderators#pagesize=100&order=desc&sort=reputation&site=stackoverflow&...
4
votes
1answer
89 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 ...
8
votes
1answer
106 views

Bug with `badges/name` endpoint

Last night I had a programme running and it errored on the first call to the badges/name endpoint on the API, exact API endpoint call: https://api.stackexchange.com/2.2/badges/name?order=asc&sort=...
2
votes
1answer
73 views

Notice field on questions may be absent?

The notice type, that is a field of a question, appears to be optional, yet it is not marked as "may be absent"? For example, when I request questions with a filter that has the notice field checked, ...
5
votes
1answer
95 views

Field “comment_count” is not always returned by API

I am making a request with a custom filter that includes the "comment_count" field of the question type. My custom filter is !RtdMEtslKF6Z()NqpDUFZ58R6twu-.4V48gn0furqA*7_BL1. However, when I'm ...
1
vote
0answers
95 views

“We are currently offline for maintenance” message when authenticating to stackexchange API

I'm creating an application that connects to the Stack Exchange API for write access. I'm implementing server side explicit authentication. However, when I send the acquired code to the specified end ...
8
votes
1answer
165 views

Why is /questions API returning deleted questions?

In last few days I have noticed that questions API returns questions that where deleted hours before the API call. This is a short example, if more logs are need to pin point the problem, please ...
8
votes
1answer
128 views

“Informed” badge shown as Next badge, but doesn't exist on this site

On my profile page, the Informed badge is shown as the next badge to obtain: Clicking it even shows a popup with a link to the Tour page, but it looks quite different from other SE sites. Looking at ...
1
vote
1answer
116 views

Implicit Flow Isn't Redirecting

I'm using the WebAuthenticationBroker to allow users to log in to their account: var accessToken = ""; var uri = "https://stackexchange.com/oauth/dialog?redirect_uri=https://localhost.com&...
2
votes
0answers
56 views

It's taking two calls to /oauth/dialog/ to get an access_token? [duplicate]

When we send this request: https://stackexchange.com/oauth/dialog/?client_id=`client_id`&scope=read_inbox%2cno_expiry%2cwrite_access%2cprivate_info&redirect_uri=https%3a%2f%2fstackexchange....
4
votes
0answers
98 views

Few typos in the documentation pages

https://api.stackexchange.com/docs/vectors When passing a vector, sepeate each id with a semicolon. For example, /users/1;2;3;4;5?site=somesite would fetch users with ids 1 through 5 on somesite. ...
5
votes
1answer
73 views

Typos on api.stackexchange.com/docs/js-lib

Under the Authentication section on https://api.stackexchange.com/docs/js-lib, there are a few typos (emphasis mine): scope (optional) – an array of scopes to request during authentication, valid ...