---
title: "Itgenprr002 The value of the parameter with name \u0027:w2dctxyearxstartxactive\u0027 must match the data type \u0027string\u0027. The value currently has data type \u0027Int32\u0027"
language: en
source_language: en
translation_state: complete
canonical: 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
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-16T11:19:28Z
license: https://documentation.invantive.eu/en/
---

# Itgenprr002 The value of the parameter named ‘:w2dctxyearxstartxactive’ must match the data type ‘string’. The value currently has the data type ‘Int32’

For request ID `0HNPUA9HR36OM:00000003`, we receive the following message:

> itgenprr002
> The value of the parameter named ‘:w2dctxyearxstartxactive’ must match the data type ‘string’. The value currently has the data type ‘Int32’.
> Please ensure that the data types of the metadata and actual values match.

This message has been appearing since Invantive App Online was upgraded ](https://forums.invantive.com/t/upgrade-invantive-app-online-van-26-0-naar-27-0/7011) from 26.0 to 27.0.

It appears to be related to the following PSQL query behind a website:

```
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;
```

How can we resolve or improve this?

## Accepted answer

A fix has been implemented in version 27.0.91, which resolves this issue. This has now been deployed on Invantive App Online.

---

Source: [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)
