phacility/phabricator · error · Aphront400Response
400 Bad Request
Error message
400 Bad Request
What it means
HTTP 400 response from ConpherenceViewController::handleRequest(): the request carries pagination parameters (oldest_transaction_id/newest_transaction_id) that are invalid for the room's transaction window — e.g. paging to a transaction ID older or newer than any that exists. The controller returns a bad-request response instead of rendering.
Solutions
- Reload the room from its canonical URL without paging parameters
- Use the in-room 'older transactions' link rather than hand-editing transaction IDs
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at src/applications/conpherence/controller/ConpherenceViewController.php:30 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of phacility/phabricator@5720a38cfe (2026-08-21).
Data as JSON: /api/errors/63ecc351ac49d5f4.
Report an issue: GitHub.
Appendix: source
Thrown at src/applications/conpherence/controller/ConpherenceViewController.php:30
public function handleRequest(AphrontRequest $request) {
$user = $request->getUser();
$conpherence_id = $request->getURIData('id');
if (!$conpherence_id) {
return new Aphront404Response();
}
$query = id(new ConpherenceThreadQuery())
->setViewer($user)
->withIDs(array($conpherence_id))
->needProfileImage(true)
->needTransactions(true)
->setTransactionLimit($this->getMainQueryLimit());
$before_transaction_id = $request->getInt('oldest_transaction_id');
$after_transaction_id = $request->getInt('newest_transaction_id');
$old_message_id = $request->getURIData('messageID');
if ($before_transaction_id && ($old_message_id || $after_transaction_id)) {
throw new Aphront400Response();
}
if ($old_message_id && $after_transaction_id) {
throw new Aphront400Response();
}
$marker_type = 'older';
if ($before_transaction_id) {
$query
->setBeforeTransactionID($before_transaction_id);
}
if ($old_message_id) {
$marker_type = 'olderandnewer';
$query
->setAfterTransactionID($old_message_id - 1);
}
if ($after_transaction_id) {
$marker_type = 'newer';
$queryView on GitHub (pinned to 5720a38cfe)