# Liquidación primaria de granos - Error al obtener COE: (cvc-maxLength-valid) El valor "XXXXX" con longitud = "xx" no cumple con la restricción maxLenght "xx" para el tipo "XXXXX"

**URL:** <https://bc.finneg.com/t/liquidacion-primaria-de-granos-error-al-obtener-coe-cvc-maxlength-valid-el-valor-xxxxx-con-longitud-xx-no-cumple-con-la-restriccion-maxlenght-xx-para-el-tipo-xxxxx/4722>\
**Category:** Compras agro\
**Tags:** lpg, compra-de-granos, soluciones, granos, agro\
**Created:** [28 Marzo, 2025 18:35 UTC](https://bc.finneg.com/t/liquidacion-primaria-de-granos-error-al-obtener-coe-cvc-maxlength-valid-el-valor-xxxxx-con-longitud-xx-no-cumple-con-la-restriccion-maxlenght-xx-para-el-tipo-xxxxx/4722 "2025-03-28T18:35:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AcademiaFinnegans](https://bc.finneg.com/user_avatar/bc.finneg.com/academiafinnegans/32/23146_2.png) [@AcademiaFinnegans](https://bc.finneg.com/u/AcademiaFinnegans)\
**Post date:** [28 Marzo, 2025 18:35 UTC](https://bc.finneg.com/t/liquidacion-primaria-de-granos-error-al-obtener-coe-cvc-maxlength-valid-el-valor-xxxxx-con-longitud-xx-no-cumple-con-la-restriccion-maxlenght-xx-para-el-tipo-xxxxx/4722/1 "2025-03-28T18:35:20Z")

</div>

**Consulta** :  
Al querer obtener COE le aparece este aviso.

 ![image](https://bc.finneg.com/uploads/default/original/3X/8/2/82ab6e8d372e7bcc525e5d627d4445ecf2d18cd6.png)

* * *

**Respuesta:**  
En este caso el nombre del tipo de retención que se indica excede la longitud máxima permitida de caracteres (incluídos espacios) que es 50.

“Retencion Imp. Ganancias Granos - Scoring Productor-Estado 2”, tiene 60 caracteres (incluye los espacios).

* * *

**Pasos a seguir** :

Se debe ingresar al maestro de tipos de retención, buscar la retención en cuestión y modificar la longitud del nombre, llevarla a los parámetros definidos de máximo 50 caracteres.
