400 - "exceptionCode":21414. z Query/Invoice/Async/Fetch #14
Closed
dorakeen
started this conversation in
Błędy i problemy
Replies: 1 comment
-
|
nagłówek zapytania powinien mieć postać:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Witam
Dokonałem niezbędnych zmian, aby odzwierciedlić nowe FA (2) i wszystko działa dobrze dla Invoice/Send i Query/Invoice/Sync. W każdym razie, kiedy próbuję Query/Invoice/Async/Fetch/RN/RN dostaję z powrotem błąd 400 - "exceptionCode":21414.
`
https://ksef-test.mf.gov.pl/api/online/Query/Invoice/Async/Init
{'Accept': 'application/json', 'content-type': 'application/json', 'SessionToken': '815b51268d8d80929142e4302f31074241dad4e7cea17e90df279c912a10b430'}
{ "queryCriteria":{
"subjectType":"subject1","type":"incremental",
"acquisitionTimestampThresholdFrom":"2023-09-02T11:31:24.327Z",
"acquisitionTimestampThresholdTo":"2023-10-02T11:31:24.327Z" } }
content:{"timestamp":"2023-10-02T10:31:33.141Z","referenceNumber":"20231002-SE-0D9B7725FE-68C1400D7E-49","processingCode":100,"processingDescription":"Proces został zarejestrowany.","elementReferenceNumber":"20231002-EH-6C6943AEB9-4AF98D4202-FD"}
https://ksef-test.mf.gov.pl/api/online/Query/Invoice/Async/Status/20231002-EH-6C6943AEB9-4AF98D4202-FD
content:{"timestamp":"2023-10-02T10:31:48.035Z","referenceNumber":"20231002-SE-0D9B7725FE-68C1400D7E-49","processingCode":200,"processingDescription":"Zakończenie etapu weryfikacji spójności odpowiedzi","elementReferenceNumber":"20231002-EH-6C6943AEB9-4AF98D4202-FD","numberOfParts":1,"numberOfElements":7,"partList":[{"partReferenceNumber":"20231002-ER-7D5ECEAEC8-9797404A6B-48","partName":"3385150969_subject1_202309021324_202310021324_T_20231002T12313883","partNumber":1,"partRangeFrom":"2023-09-02T11:31:24.327Z","partRangeTo":"2023-10-02T11:31:24.327Z","partExpiration":"2023-10-22T10:31:33.220Z","plainPartHash":{"hashSHA":{"algorithm":"SHA-256","encoding":"Base64","value":"lfJx1DjV7fQqnldZkC3QadMG8+u9QFdhUeswpimfg+8="},"fileSize":10207}}]}
https://ksef-test.mf.gov.pl/api/online/Query/Invoice/Async/Fetch/20231002-EH-6C6943AEB9-4AF98D4202-FD/20231002-ER-7D5ECEAEC8-9797404A6B-48
{"exception":{"serviceCtx":"srvTEMFC","serviceCode":"20231002-EX-FF913B2F71-0197858E0C-EE","serviceName":"online.query.query.invoice.fetch","timestamp":"2023-10-02T10:31:48.499Z","referenceNumber":"20231002-SE-0D9B7725FE-68C1400D7E-49","exceptionDetailList":[{"exceptionCode":21414,"exceptionDescription":"Nieobsługiwana
wersja zapytania."}]}}
`
Beta Was this translation helpful? Give feedback.
All reactions