# Bug OP-17513 - NoMethodError in GET::API::V3::Queries::QueriesAPI#/queries/:id/

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-17513

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Administration / Roles and permissions / Global roles and permissions |
| Target versions | 16.3.0 |
| Observed in versions |  |
| Sprint | 16.3.0 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Attila Dombi |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

*   [https://appsignal.com/openproject-gmbh/sites/686fa50dfab54d1e5d3524fc/exceptions/incidents/304/samples/last?activeFilter=timeline&amp;selectedTime=2025-07-14T00%3A00%3A00.000Z](https://appsignal.com/openproject-gmbh/sites/686fa50dfab54d1e5d3524fc/exceptions/incidents/304/samples/last?activeFilter=timeline&selectedTime=2025-07-14T00%3A00%3A00.000Z)
    
*   https://appsignal.com/openproject-gmbh/sites/674718f1d2a5e4a7cb8b2298/exceptions/incidents/918/samples/674718f1d2a5e4a7cb8b2298-1525684550910481143817525658601
    

### What is the buggy behavior?

*   <br>
    

### What is the expected behavior?

###   

### **Logs**

```text
undefined method 'strip' for nil

app/models/timestamp.rb:88 Timestamp.parse
lib/api/v3/work_packages/eager_loading/historic_attributes.rb:159 API::V3::WorkPackages::EagerLoading::AttributesByTimestampWorkPackage#timestamp
lib/api/v3/work_packages/eager_loading/historic_attributes.rb:83 block in API::V3::WorkPackages::EagerLoading::HistoricAttributes#set_at_timestamp_attributes
lib/api/v3/work_packages/eager_loading/historic_attributes.rb:77 Array#map
lib/api/v3/work_packages/eager_loading/historic_attributes.rb:77 API::V3::WorkPackages::EagerLoading::HistoricAttributes#set_at_timestamp_attributes
lib/api/v3/work_packages/eager_loading/historic_attributes.rb:38 API::V3::WorkPackages::EagerLoading::HistoricAttributes#apply
lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb:66 block (2 levels) in API::V3::WorkPackages::WorkPackageEagerLoadingWrapper.wrap_and_apply
lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb:65 Array#each
lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb:65 block in API::V3::WorkPackages::WorkPackageEagerLoadingWrapper.wrap_and_apply
lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb:64 Array#each
lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb:64 API::V3::WorkPackages::WorkPackageEagerLoadingWrapper.wrap_and_apply
lib/api/v3/work_packages/work_package_eager_loading_wrapper.rb:43 API::V3::WorkPackages::WorkPackageEagerLoadingWrapper.wrap
lib/api/v3/work_packages/work_package_collection_representer.rb:79 API::V3::WorkPackages::WorkPackageCollectionRepresenter#initialize
app/services/api/v3/work_package_collection_from_query_service.rb:151 Class#new
app/services/api/v3/work_package_collection_from_query_service.rb:151 API::V3::WorkPackageCollectionFromQueryService#collection_representer
app/services/api/v3/work_package_collection_from_query_service.rb:64 API::V3::WorkPackageCollectionFromQueryService#results_to_representer
app/services/api/v3/work_package_collection_from_query_service.rb:47

API::V3::WorkPackageCollectionFromQueryService#call
```
