Skip to content

Conversation

Ivanov-Anton
Copy link
Member

@Ivanov-Anton Ivanov-Anton commented Oct 23, 2024

Description

exception when request /api/rest/admin/active-calls?filter[orig-gw-id-eq]=1

logs

Oct 9 14:47:16 250012 yeti-web[141163]: [f980a4a5-e1c5-4f68-ac5c-2d5304ad8ba3] Started GET “/api/rest/admin/active-calls?filter%5Borig-gw-id-eq% 5D=17” for 127.0.0.1 at 2024-10-09 14:47:16 +0200
Oct 9 14:47:16 250012 yeti-web[141163]: [f980a4a5-e1c5-4f68-ac5c-2d5304ad8ba3] Processing by Api::Rest::Admin::ActiveCallsController#index as API_JSON
Oct 9 14:47:16 250012 yeti-web[141163]: [f980a4a5-e1c5-4f68-ac5c-2d5304ad8ba3] Parameters: {“filter”=>{“orig-gw-id-eq”=>“17”} }
Oct 9 14:47:17 250012 yeti-web[141163]: request to node 1
Oct 9 14:47:17 250012 yeti-web[141163]: loading 1 active calls
Oct 9 14:47:17 250012 yeti-web[141163]: [f980a4a5-e1c5-4f68-ac5c-2d5304ad8ba3] Internal Server Error: undefined method to_i' for ["17"]:Array /opt/yeti-web/ app/models/yeti/cdrs_filter.rb:60:in block (3 levels) in generate_filter’#012>
Oct 9 14:47:17 250012 yeti-web[141163]: [f980a4a5-e1c5-4f68-ac5c-2d5304ad8ba3] Completed 500 Internal Server Error in 51ms (Views: 0.4ms | ActiveRecord: 5.9ms | Allocations: 10444)


@Ivanov-Anton Ivanov-Anton self-assigned this Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant