Storage Service Records Fetch Error
**Not able to retrieve records from Storage Service **
If record id contains html encoded characters(%2F), then Storage service doesn't returns expected result but Search query returns as expected. This issue same across all CSP's - AZURE, GCP, IBM & AWS.
For example , below query returns expected result through Search Service -
{ "kind": "*:wks:reference-data--UnitOfMeasure:1.0.0", "limit": 10, "aggregateBy":"kind", "query":"id:"osdu:reference-data--UnitOfMeasure:V%2FB" OR id:"opendes:reference-data--UnitOfMeasure:v%2Fv" OR id:"odesprod:reference-data--UnitOfMeasure:H%2Fm" OR id:"opendes:reference-data--UnitOfMeasure:US%2FF"" }
However, in Storage service getting response - HTTP Status 400 – Bad Request
<!doctype html>
HTTP Status 400 – Bad Request body { font-family: Tahoma, Arial, sans-serif; } h1, h2, h3, b { color: white; background-color: #525D76; } <pre data-sourcepos="33:2-58:9"><code> h1 { font-size: 22px; } h2 { font-size: 16px; } h3 { font-size: 14px; } p { font-size: 12px; } a { color: black; } .line { height: 1px; background-color: #525D76; border: none; } </style> </code></pre> </head> <body> <h1>HTTP Status 400 – Bad Request</h1> </body> </html>