#2273 `POST /build/create/custom [504]` raises "Consider using pagination for large queries." that is misleading
Closed: MIGRATED a year ago by nikromen. Opened 2 years ago by ttomecek.

POST https://copr.fedorainfracloud.org/api_3/build/create/custom [504]
{
reason: Gateway Timeout
}

returns

JSONDecodeError
[Errno Expecting value] <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>504 Gateway Timeout</title>
</head><body>
<h1>Gateway Timeout</h1>
<p>The gateway did not receive a timely response
from the upstream server or application.</p>
</body></html>
: 0

This is a transient network error, that's okay, the client can retry. The resulting error message should be more accurate as this has nothing to do with a large query (is a simple json) nor pagination.

Details for those that have access:
https://sentry.io/organizations/red-hat-0p/issues/3221965933/?project=1767823&query=is%3Aunresolved


Metadata Update from @praiskup:
- Issue tagged with: API, easyfix

2 years ago

Metadata Update from @praiskup:
- Issue tagged with: bug

2 years ago

Thank you for the report!

Metadata Update from @praiskup:
- Issue tagged with: packit

2 years ago

Metadata Update from @nikromen:
- Issue close_status updated to: MIGRATED
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata