All Questions
67
questions
3
votes
1
answer
2k
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 ...
2
votes
1
answer
83
views
Bugs in API 2.2 "/search/advanced" with a "q" parameter
How can we handle these problems?
Result for sort=relevance&order=desc is similar to
sort=relevance&order=desc.
Very poor caching system: After some queries, you may receive the same
results ...
1
vote
0
answers
55
views
"edited" key always return false. even though it shows edited on site
CommentID: 1193255 On site Meta Stack Exchange
The Api returns edited as false
However if you see the comment itself, you can see it has been edited.
Is there something that I am missing here?
3
votes
1
answer
66
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:
{&...
1
vote
0
answers
33
views
API returns flags options for election comments while flagging them isn't possible
When trying to retrieve the flag options on a comment, e.g. on the currently active one on Skeptics.SE (but it works for any election):
https://api.stackexchange.com/docs/comment-flag-options#id=...
2
votes
0
answers
46
views
Wrong error message when attempting to edit a locked answer
When attempting to edit a locked answer like this one via the /answers/{id}/edit API method, I get an error message:
Account is not allowed to suggest edits
I have the privilege to edit the post, ...
5
votes
1
answer
276
views
Cannot authenticate with OAuth2
I was testing an app and suddenly I can't login any more.
Neither my app or the Stack App configuration hasn't changed, so I'm thinking this might be a bug on the API side.
The OAuth error seems a ...
3
votes
1
answer
78
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 ...
2
votes
1
answer
83
views
What happened to the links to a Stack App mentioned in the documentation about write access?
The documentation about write access states:
The application responsible for creating content via the API may be indicated with a link to an app's Stack Apps post. The exact manner of display is ...
2
votes
1
answer
58
views
Timeline activities appear to be missing (because creation_date has wrong and useless values)
When I'm looking at my Stack Overflow timeline according to the API, It's missing a lot of events.
According to the API, the last thing I did was posting this answer, five days ago, and you can see ...
3
votes
0
answers
68
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 ...
7
votes
2
answers
513
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
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 ...
3
votes
0
answers
59
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
0
answers
43
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 ...