ERROR: For input string: "GWHY-42A"

Highlighted
Six Stars

ERROR: For input string: "GWHY-42A"

I have error

For input string: "GWHY-42A"

 

I tried data type "string,float,int and the other"  but didnt work. It is output after "-" (Like 42A)

 

Please help me.

 

Thanks.


Accepted Solutions
Employee

Re: ERROR: For input string: "GWHY-42A"

Hi,

 

    The error itself is giving clue for the issue.

 

Incorrect integer value: 'SG-700 ' for column 'ZArtNr' at row 1"

 

    It seems you are trying to add a alphanumeric value to an Integer column and its creating the error. Could you please double check the details by printing the data using a tLogrow?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)


All Replies
Eight Stars

Re: ERROR: For input string: "GWHY-42A"

Hi,

 

Can you post the total error message you got.

 

Regards,

Bharath.

 

Kudos are accepted if this gave you the solution.

Six Stars

Re: ERROR: For input string: "GWHY-42A"

Hi,

 

I figured out this error mesage but I have a another error.

 

Error message 

"Data truncated for column 'ArtNr' at row 1
Incorrect integer value: 'SG-700 ' for column 'ZArtNr' at row 1"

this two.

 

I checked MySqlOutput component -> advanced settings -> Enabled debug mode. 

Employee

Re: ERROR: For input string: "GWHY-42A"

Hi,

 

    The error itself is giving clue for the issue.

 

Incorrect integer value: 'SG-700 ' for column 'ZArtNr' at row 1"

 

    It seems you are trying to add a alphanumeric value to an Integer column and its creating the error. Could you please double check the details by printing the data using a tLogrow?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

Six Stars

Re: ERROR: For input string: "GWHY-42A"

Hi,

 

Okey, I change data type in MySql database its work but I choose data type string in talend-MySqlOutput and it didnt work and I get error messages.

 Why is this happening?

 

Thanks.

Seven Stars

Re: ERROR: For input string: "GWHY-42A"

Hi,

Could you share us the screenshot to solve your issue.

Thanks,
Prabhakaran. R
Six Stars

Re: ERROR: For input string: "GWHY-42A"

Okey. Thanks a lot you all for helping. My problem was correct datatype and I understand for your help.

 

Again thanks a lot.

 

Regards,

BetulB.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now

How to Modernize Your Cloud Platform for Big Data Analytics With Talend and Micr...

Learn how<SPAN>to modernize your Cloud Platform for Big Data Analytics with Talend and Microsoft Azure</SPAN>

Read