Closed adamssonj closed 6 months ago
The notice search API has not been working since at least the 27 of December, it only responds with 403.
To Reproduce
https://api.hankintailmoitukset.fi/avp/eformnotices/docs/search. The payload does not seem to matter. E.g. from the documentation
https://api.hankintailmoitukset.fi/avp/eformnotices/docs/search
curl -v -X POST "https://api.hankintailmoitukset.fi/avp/eformnotices/docs/search" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Ocp-Apim-Subscription-Key: SECRET_KEY" --data-raw "{ \"search\": \"nutsCodes:(FI1*) AND cpvCodes:(03111*) AND mainType:(ContractNotices OR PriorInformationNotices OR ContractAwardNotices)\", \"filter\": \"includesFrameworkAgreement eq true and isEForms eq true\", \"top\": \"5\", \"count\": \"true\", \"searchMode\": \"any\", \"orderby\": \"datePublished desc\" }"
Expected behavior We expect the API to respond with the search result, as it did prior to the 27th.
API response
< HTTP/2 403 < date: Tue, 02 Jan 2024 09:08:35 GMT < content-language: en < strict-transport-security: max-age=2592000,max-age=15724800; includeSubDomains < preference-applied: odata.include-annotations="*" < request-id: 0d07b544-9bae-4086-94fa-eff02e555a4a < elapsed-time: 98 < request-context: appId=cid-v1:1c7c1805-f4ec-49e2-a8f3-5993b60c63f5 < x-azure-ref: 20240102T090835Z-zps4nnwvqh7bhe34rwegpm0w3g00000001pg000000003n85 < x-cache: CONFIG_NOCACHE
We are investigating this issue, thanks.
Problem should be fixed now.
The notice search API has not been working since at least the 27 of December, it only responds with 403.
To Reproduce
https://api.hankintailmoitukset.fi/avp/eformnotices/docs/search
. The payload does not seem to matter. E.g. from the documentationExpected behavior We expect the API to respond with the search result, as it did prior to the 27th.
API response