Error filtering applications by org
See original GitHub issueStratos Version
4.2 (3.2.0 is working ok)
CF API Version
2.153.0
Expected behaviour
Should be able to filter applications by org + space
Actual behaviour
org filter does not work, errors calling CF API /v2/apps
2020-10-12T12:24:03.52+0100 [APP/PROC/WEB/0] OUT WARN[Mon Oct 12 11:24:03 UTC 2020] Passthrough response: URL: https://<API>/v2/apps?order-direction=asc&order-direction-field=creation&page=1&results-per-page=100&inline-relations-depth=2&include-relations=space,organization,routes&q=organization_guid=acb77bc7-846f-481f-86a7-041d478d10ea&q=space_guid%20IN%20333cb316-2f0a-4482-9922-b65bf76d4518, Status Code: 400, Status: 400 Bad Request, Content Type: application/json;charset=utf-8, Length: 167
2020-10-12T12:24:03.52+0100 [APP/PROC/WEB/0] OUT WARN[Mon Oct 12 11:24:03 UTC 2020] {
2020-10-12T12:24:03.52+0100 [APP/PROC/WEB/0] OUT "description": "The query parameter is invalid: organization_guid=acb77bc7-846f-481f-86a7-041d478d10ea",
2020-10-12T12:24:03.52+0100 [APP/PROC/WEB/0] OUT "error_code": "CF-BadQueryParameter",
2020-10-12T12:24:03.52+0100 [APP/PROC/WEB/0] OUT "code": 10005
2020-10-12T12:24:03.52+0100 [APP/PROC/WEB/0] OUT }
Steps to reproduce the behavior
the error can be replicated with cf curl
$ cf curl '/v2/apps?order-direction=asc&order-direction-field=creation&page=1&results-per-page=100&inline-relations-depth=2&include-relations=space,organization,routes&q=organization_guid=acb77bc7-846f-481f-86a7-041d478d10ea&q=space_guid%20IN%20333cb316-2f0a-4482-9922-b65bf76d4518'
{
"description": "The query parameter is invalid: organization_guid=acb77bc7-846f-481f-86a7-041d478d10ea",
"error_code": "CF-BadQueryParameter",
"code": 10005
}
=
is not a valid operator in the CF API v2. It should be :
https://apidocs.cloudfoundry.org/13.19.0/apps/list_all_apps.html
Valid ops: : >= <= < > IN
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Application of Prediction Error Filters for the Detection of Weak ...
This paper analyzes how the signal-to-noise ratio (SNR) for digital registrations of weak earthquakes can be enhanced by application of prediction error ......
Read more >Error filtering, pair assembly and error correction for next ...
Error correction methods for amplicon pyrosequencing reads include ... Filtering is commonly used in amplicon sequencing applications such as marker gene ...
Read more >How to manage exceptions thrown in filters in Spring?
So, any errors caused by exceptions first pass through the ErrorController and are re-directed off to the exception handler by rethrowing them from...
Read more >Error when trying to use expression filter inside a choice
When trying to uses a expression filter inside a choice, although is possible to do it fails when you already have a when...
Read more >A Kalman filter approach to reduce position error ... - DiVA Portal
A Kalman filter approach to reduce position error for pedestrian applications in areas of bad GPS reception. Mattias Eliasson. Mattias Eliasson. Spring 2014....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The fix has merged and will make it into 4.2.0 which is due in the next few weeks
that’s great, thanks very much 👍