---
title: "Itgenprr002 Il valore del parametro denominato \u00AB:w2dctxyearxstartxactive\u00BB deve corrispondere al tipo di dati \u00ABstring\u00BB. Attualmente il valore ha il tipo di dati \u00ABInt32\u00BB"
language: it
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/it/forum/7012/itgenprr002-the-value-of-the-parameter-with-name-w2dctxyearxstartxactive-must-match-the-data-type-string-the-value-currently-has-data-type-int32
original: https://documentation.invantive.eu/en/forum/7012/itgenprr002-the-value-of-the-parameter-with-name-w2dctxyearxstartxactive-must-match-the-data-type-string-the-value-currently-has-data-type-int32
updated: 2026-11-30T17:23:54Z
license: https://documentation.invantive.eu/it/
---

# Itgenprr002 Il valore del parametro denominato «:w2dctxyearxstartxactive» deve corrispondere al tipo di dati «string». Il valore ha attualmente il tipo di dati «Int32»

Con l’ID richiesta `0HNPUA9HR36OM:00000003` viene visualizzato il seguente messaggio:

> itgenprr002
> Il valore del parametro denominato «:w2dctxyearxstartxactive» deve corrispondere al tipo di dati «stringa». Il valore ha attualmente il tipo di dati «Int32».
> Assicurarsi che i tipi di dati dei metadati e dei valori effettivi corrispondano.

Questo messaggio compare da quando Invantive App Online [aggiornato](https://forums.invantive.com/t/upgrade-invantive-app-online-van-26-0-naar-27-0/7011) da 26.0 a 27.0.

Sembra collegato alla seguente PSQL dietro un sito web:

```
for r_ilt in
      ( select psc.dct_year_start_active
        from   oa_party_statistics@oa psc
        where  psc.pty_url_segment = l_pty_url_segment
        order
        by     psc.dct_year_start_active desc
      )
      loop
        l_position := l_position + 1;
        cloud_http.append_to_response_body_text
        ( case when l_position > 1 then ',' else '' end
          || '{"@type":"ListItem","position":' || to_char(l_position)
          || ',"name":' || replace(replace(jsonencode(l_pty_name || ' ' || to_char(r_ilt.dct_year_start_active)), '<', '\u003c'), '>', '\u003e')
          || ',"url":' || replace(replace(jsonencode(l_base_path_url || '/' || l_language_code || '/documents/' || l_pty_url_segment || '/' || to_char(r_ilt.dct_year_start_active)), '<', '\u003c'), '>', '\u003e')
          || '}'
        );
      end loop;
```

Come possiamo risolvere o migliorare questa situazione?

## Risposta accettata

Nella versione 27.0.91 è stata implementata una correzione che risolve questo problema. Questa è stata ormai messa in produzione su Invantive App Online.

---

Fonte: [https://forums.invantive.eu/t/itgenprr002-the-value-of-the-parameter-with-name-w2dctxyearxstartxactive-must-match-the-data-type-string-the-value-currently-has-data-type-int32/7012](https://forums.invantive.eu/t/itgenprr002-the-value-of-the-parameter-with-name-w2dctxyearxstartxactive-must-match-the-data-type-string-the-value-currently-has-data-type-int32/7012)
