# Bug COMMS-1053 - IntegerOutOf64BitRange on GET::API::V3::WorkPackages::WorkPackagesAPI#/work_packages/

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-1053

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Work packages |
| Target versions | 18.0.0 |
| Observed in versions | 17.8.0, 17.9.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Judith Roth |
| Product manager |  |
| Developers | Judith Roth |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

## Steps to reproduce

1\. Open a work package typeahead search.  
2\. Enter a numeric value larger than the signed 64-bit integer range, for example:  
&nbsp; &#x60;2608049472608049476767&#x60;

## What is the current behavior?

The work package API returns a 500 error while creating the &#x60;exactMatch&#x60; sorting condition:

&#x60;ActiveRecord::ConnectionAdapters::PostgreSQL::Quoting::IntegerOutOf64BitRange&#x60;

The error occurs in:

&#x60;app/models/queries/work\_packages/selects/exact\_match\_select.rb:84&#x60;

## What is the expected behavior?

The value should be handled as a regular search term. The request should return an empty result instead of raising an exception.

## Logs

AppSignal incident:  
https://appsignal.com/openproject-gmbh/sites/6813715a55b0b20ed373597c/exceptions/incidents/1844

Example request parameter:

&#x60;2608049472608049476767&#x60;

<br>
