Elering / estfeed-datahub-docs

Estfeed Datahub Documentation
0 stars 0 forks source link

[EDH-2385] "wrong-resolution" error while adding metering data #17

Closed EinarArro closed 2 months ago

EinarArro commented 2 months ago

Description

For some reason I started to get error "wrong-resolution" while sending the same metering data message, as previously

Request

{
  "marketParticipantContext": {
    "marketParticipantIdentification": "38X-EIN-GO-----0",
    "marketParticipantRole": "GRID_OPERATOR",
    "commodityType": "ELECTRICITY"
  },
  "meterData": [
    {
      "meterEic": "38ZGO-1000001L-3",
      "periods": [
        {
          "r": "PT15M",
          "aI": [
            {
              "pS": "2024-04-29T00:15:00+03:00",
              "inQty": {
                "rType": "M",
                "rTime": "2024-05-02T17:10:32.325386+03:00",
                "kwh": 5.35
              },
              "outQty": {
                "rType": "M",
                "rTime": "2024-05-02T17:10:32.325403+03:00",
                "kwh": 21.44
              }
            },
            {
              "pS": "2024-04-29T00:30:00+03:00",
              "inQty": {
                "rType": "E",
                "rTime": "2024-05-02T17:10:32.325412+03:00",
                "kwh": 1.625
              },
              "outQty": {
                "rType": "M",
                "rTime": "2024-05-02T17:10:32.325420+03:00",
                "kwh": 0.358
              }
            }
          ]
        }
      ]
    }
  ]
}

Response from check endpoint

{
  "meterDataStatuses": [
    {
      "originalDocumentIdentification": "16e70366-ddac-4eb6-8004-81dec211a08e",
      "senderEic": "38X-EIN-GO-----0",
      "createdTime": "2024-05-02T14:10:34.0956984Z",
      "status": "ERROR",
      "statusMessage": "Error code: wrong-resolution; Error cause: wrong-resolution; Created time: 02.05.2024 14:10"
    }
  ],
  "pagination": {
    "page": 0,
    "totalPages": 1
  }
}