italia / anpr

Issue tracker e documentazione di ANPR - Anagrafe Nazionale della Popolazione Residente
Creative Commons Attribution 4.0 International
179 stars 49 forks source link

Issue when trying to check the status of the API IVASS C019 #4462

Closed belarbim closed 4 months ago

belarbim commented 5 months ago

Dear all,

I'm currently trying to use the IVASS API based on the defined yaml file ("Specifica_API,yaml"). I followed the procedure:

Please find the query done: curl --location --request GET 'https://modipa.anpr.interno.it/govway/rest/in/MinInternoPortaANPR-PDND/C019-servizioAccertamentoEsistenzaVita/v1/status' \ --header 'Authorization: Bearer eyJ0eXAiOiJhdCtqd3QiLCJhbGciOiJSUzI1NiIsInVzZSI6InNpZyIsImtpZCI6IjE5OWQwOGQyLTk5NzEtNDk3OS1hNzhkLWU2ZjdhNTQ0ZjI5NiJ9.eyJhdWQiOiJodHRwczovL21vZGlwYS5hbnByLmludGVybm8uaXQvZ292d2F5L3Jlc3QvaW4vTWluSW50ZXJub1BvcnRhQU5QUi9DMDE5LXNlcnZpemlvQWNjZXJ0YW1lbnRvRXNpc3RlbnphVml0YS92MSIsInN1YiI6IjhhNTJlODIxLTliNjktNDk4MS1hMTIxLTI5N2Q4YmYyZTJjNyIsIm5iZiI6MTcxMDkzMDIzMywicHVycG9zZUlkIjoiMTdhZDE2MTItZWNhNC00NjUwLWFjYmUtZjFmN2U3ZTVjMTc0IiwiaXNzIjoiaW50ZXJvcC5wYWdvcGEuaXQiLCJleHAiOjE3MTA5MzA4MzMsImlhdCI6MTcxMDkzMDIzMywiY2xpZW50X2lkIjoiOGE1MmU4MjEtOWI2OS00OTgxLWExMjEtMjk3ZDhiZjJlMmM3IiwianRpIjoiMDllZDEzZWQtNTY0Ny00YTU2LTkzYjYtOTM1NTAyMWJhNjdmIn0.jvHh03-CqsgYX7uMFexWz7KsFO63PmxfmNiioD32bMpcmzArC9LVLaP3SZhDDdncY9-bzmUxfkm4OqMW-IOO09yz9iuXbdOg23SGedg7s59__A0eyhOja7PLH2T9NSN3wKV29z0cyYYSyAT4VStXk6lDrJ-tQlnMz4-Dnxui-6GxF78_6GvI4NIgd_TTTVZOcL9l7TfVyhNpNcvtSKPcktlfqPgPyiI60kjSFOzNAG3CHaTyU_kqf0TLX6JXWpyM0cCCERTr31dcf6C2MV3FbwShUeVf86RFhBOljN4TGkeRhGkj5l35rOYpXc-TWaNeIpj2sufw8sw7OqQV8KxNSA'

Please find the response: { "type": "https://govway.org/handling-errors/400/InteroperabilityInvalidRequest.html", "title": "InteroperabilityInvalidRequest", "status": 400, "detail": "Received request is not conform to the required interoperability profile", "govway_id": "97c44064-e6a4-11ee-b93f-005056ae21f8" }

Please find the current swagger file used: `openapi: 3.0.3 info: title: Consultazione ANPR API C019 description: |- Servizio per la consultazione dell'esistenza in vita di un cittadino ai fini di un accertamento Pattern Model applicati:

`

let me know if you need any additional information.

Regards,

JeyjooMilano commented 5 months ago

Hi Belarbim,

If you find a solution, I would be interested, we have been stuck on this for 2 months.

Best of luck.

afrontera85 commented 4 months ago

L'errore è: Validazione security token ModI 'AUDIT' della richiesta fallita: Header HTTP 'Agid-JWT-TrackingEvidence' non presente