anskaffelser / eforms-sdk-nor

7 stars 1 forks source link

Unclear error returned on eForm submission #4

Closed eduardsmirnov closed 1 year ago

eduardsmirnov commented 1 year ago

Trying to submit attached eForm but get following back. Could you give me more details what is wrong?

{
    "code": "400",
    "message": "Validation result: error"
}

POST: https://dof-notices-dev-api.azure-api.net/notices/submit body metadata: { "noticeAuthorEmail": "eduard.smirnov@mercell.com", "noticeAuthorLocale": "en" } body notice: `<?xml version="1.0" encoding="utf-8"?>

2023-04-20+00:00 14:27:51+00:00 16 ORG-0001 DOMENE KLUBBEN NR 282 TE KN OL OGI DOMAIN CLUB NO. 282 TE KN OL OGI Hegelstad NOR 982384257 111 b1@b1.bb ORG-0002 RETT BAD AS STRAIGHT BAD AS Stavanger NOR 920650694 222 o1@o1.oo 2.3 eforms-sdk-1.6 bf1da872-a383-4504-9a55-22c84f24ba5d ff59b351-6f10-4985-8394-ce7fe55428ec 2023-04-20+00:00 10:50:54+00:00 01 32014L0024 cn-standard NOR la education ORG-0001 CrossBorderLaw something in norwegian something in english corruption Vi støtter ikke korrupsjon We do not support corruption open Test anbud Test tender Hovedbeskrivelse av prøveanbudet. Noe knyttet til byggearbeid Main description of the sample tender. Something connected to construction work works 45000000 LOT-0001 ef-stand ØKONOMISK OG FINANSIELL STILLING 1 ECONOMIC AND FINANCIAL POSITION 1 Jeg vet ikke hva jeg skal si, bare noen få ord S1.2 I do not know what to say, just a few words S1.2 n-used sui-act EGNETHET TIL Å FORFØLGE DEN PROFESJONELLE AKTIVITETEN 1 SUITABILITY TO PERSECUTE THE PROFESSIONAL ACTIVITY 1 Jeg vet ikke hva jeg skal si, bare noen få ord S1.1 I do not know what to say, only a few words S1.1 n-used tp-abil TEKNISK OG PROFESJONELL EVNE 1 TECHNICAL AND PROFESSIONAL ABILITY 1 Jeg vet ikke hva jeg skal si, bare noen få ord S1.3 I do not know what to say, only a few words S1.3 n-used true pass-tran-serv required no-eu-funds true Kanskje mer enn én gang Perhaps more than once 2023-04-30+03:00 not-allowed true Og hvem kan være ansvarlig? Vi har ikke penger, gjør du? And who could be responsible? We don't have the money, do you? FiscalDocID1 http://www.ww ORG-0002 EnvDocID1 http://www.ww ORG-0002 d1 non-restricted-document NOR http://www.ww/document1 økonomisk ordning financial scheme late-none Send alt på en gang, så godtar vi ingenting. Send it all at once and we won't accept anything. none true Juridisk form som skal ha en gruppe tilbydere som tildeles kontrakt Legal form that shall have a group of tenderers awarded the contract. required true Bruk av taushetserklæring Use of confidentiality statement no not-allowed performance YTELSESBETINGELSER Beskrivelse PERFORMANCE TERMS Description ORG-0001 ORG-0001 ORG-0001 ORG-0001 Informasjon om anmeldelsesfrister Review deadlines information ORG-0002 NOR true false true En sikkerhetsklarering kreves. A security clearance is required. not-allowed true sp-of-eq Beskrivelse Description 2023-05-28+03:00 00:01:00+03:00 Alle arbeidere vil være til stede ved åpningen av denne tomten All workers will be present at the opening of this site Oslo Oslo true Auksjoner kan kjøres på denne siden Auctions can run on this page http://www.ww none none Lot1 Første lodd First weight Helt meningsløs beskrivelse av det første partiet. Du må grave en veldig dyp grop og helst gratis Completely meaningless description of the first party. You'll have to dig a very deep pit and preferably for free works 1 Du har det siste ordet, og du har ingenting å si i det hele tatt You have the last word and you have nothing to say at all false national buy-eff mar-nov other et-eq work-cond 123 45122000 Det spiller ingen rolle hvor du er, det viktigste er å komme raskt og grave en dyp grøft for oss. It doesn't matter where you are, the most important thing is to get fast and dig a deep ditch for us. anyw Tilleggskjøper forbeholder seg retten til kjøp, beskrevet her, fra entreprenøren The additional buyer reserves the right to purchase, described here, from the contractor LOT-0002 ef-stand kriterium 2 criterium 2 Beskrivelse av kriteriet 2 Description of the criterion 2 n-used sui-act kriterium 1 criterium 1 Beskrivelse av kriteriet 1 Criterium 1 Description n-used tp-abil kriterium 3 criterium 3 Beskrivelse av kriteriet 3 Description of the criterion 3 n-used not-allowed no-eu-funds false not-allowed true ingen garantier no guarantees FiscalDocID1 ORG-0002 EnvDocID1 ORG-0002 EmplDocID1 ORG-0002 d2 non-restricted-document NOR official http://www.ww ingen økonomi no finances late-none Da godtar vi ikke lenger tilleggsdokumenter Additional documents will no longer be accepted none required not-known not-allowed performance Jeg vet ikke engang hva mer jeg skal legge til I do not even know what else to add ORG-0001 ORG-0001 ORG-0001 ORG-0001 Vi vil gjennomgå dokumentene når vi har tid. We will review the documents when we have time. ORG-0002 ORG-0002 ORG-0002 NOR false false not-allowed false sp-of-eq vi ikke ønsker we do not want false none none Lot2 Andre parti 2nd Party Bare en veldig enkel beskrivelse av det andre partiet. Num trenger å lede strøm Just a very simple description of the other party. Num needs power management works 100 Den siste informasjonen om det andre partiet The last information about the other party 321 45310000 Det spiller ingen rolle i det hele tatt It doesn't matter at all anyw Tilleggskjøper forbeholder seg retten til kjøp, beskrevet her, fra entreprenøren The additional buyer reserves the right to purchase, described here, from the contractor 1 Du kan bare oppdatere én gang You can update only once `
klakegg commented 1 year ago

What is the status in your validator?

eduardsmirnov commented 1 year ago

@klakegg why should it matter what is a status in my validator? it could be not implemented, or could be implemented wrong, right? When I send a notice to API and it is not accepted, I want to know what happened to be able first learn from it and maybe even fix "my validator", second to be able to perform some automated action depending on the received response. Right now the only action I can do is to fail a notice and ask a user to call DFO support for clarification cause I have no clue what happened.

klakegg commented 1 year ago

In the case of your validator diverging from our validator, it is helpful when you indicate the status from your validator. Please indicate the status from your validator.

eduardsmirnov commented 1 year ago

My validator says everything ok, no errors. Otherwise I will not even try to submit a notice.

klakegg commented 1 year ago

Which Schematron files did you use for your validation?

sandrawiborg commented 1 year ago

Hi Eduard. We have tried to submit the XML today. However, I quickly realized that the customization-ID in the XML is no longer valid. We close this issue, so please add a new one with a new XML if it is still an issue.