Hankintailmoitukset / hilma-api

11 stars 0 forks source link

Attempt to create a notice leads to error code 503 #146

Closed eduardsmirnov closed 1 year ago

eduardsmirnov commented 1 year ago

Attempt to call PUT https://hns-hilma-test-apim.azure-api.net/eforms/external-write/v1/eform/pin leads to error code 503 I guess it does not dependent on file content, pass any xml, backend is crashing. Same happens with API for CN and CAN

I tried with following XML

`<?xml version="1.0" encoding="utf-8"?>

1 2023-02-24+00:00 05:55:12+00:00 ORG-0001 Buyer 1 Tallinn EST B1 112 buyer@buyer.xx http://mercell.com/ ORG-0002 Mercell Holding ASA Askekroken 11 Oslo 0277 NO081 NOR 980921565 eSender +47 21018800 +47 21018801 post@mercell.com 2.3 eforms-sdk-1.5 329ffbda-d4c2-42ee-afae-9b585d0a9519 2023-02-24+00:00 05:55:12+00:00 01 2023-03-24+02:00 32014L0024 pin-buyer ENG http://buyer1.xx body-pl defence ORG-0001 ted-esen ORG-0002 Title 1 Description 1 services Test notice 72243000 `
Havunen commented 1 year ago

Hi, thanks for reporting this issue. I will look into it tomorrow.

Havunen commented 1 year ago

This issue is now fixed in test environment, please note that notice subtype 1 is not supported notice type in Hilma. You can find all supported notice types form Hilma web UI. https://testi.hankintailmoitukset.fi/fi/eforms/create