```target--redshift--shopify | File ".meltano/load...
# troubleshooting
m
Copy code
target--redshift--shopify | File ".meltano/loaders/target--redshift--shopify/venv/lib/python3.8/site-packages/target_postgres/postgres.py", line 309, in write_batch target--redshift--shopify | raise PostgresError(message, ex) target--redshift--shopify | target_postgres.exceptions.PostgresError: ('Exception writing records', InternalError_("Load into table 'tmp_190d2350_5b40_416a_a1db_50db8bf50556' failed. Check 'stl_load_errors' system table for details.\n")) meltano | Loading failed (1): target_postgres.exceptions.PostgresError: ('Exception writing records', InternalError_("Load into table 'tmp_190d2350_5b40_416a_a1db_50db8bf50556' failed. Check 'stl_load_errors' system table for details.\n")) meltano | ELT could not be completed: Loader failed
Hello Everyone, i am working on shopify tap and target-redshift and i am getting this error , wonder if anybody faced the same issue and knows how to resolve it.
f
If you peek at stl_load_errors on your redshift instance, its usually pretty good about telling you why the load failed.
e
I've seen that before when there is a type mismatch or error, e.g. a string longer than the char limit of the target column admits. Like @florian.hines said, querying
stl_load_errors
might be more informative of what actually happened
m
Hello @florian.hines @edgar_ramirez_mondragon Thank you for replying
It is saying that string length exceeds, where i have to change to resolve this error
@tom_mcgrail @edward_ryan @kai_yokoyama
e
@monika_rajput I can help with this
you need to update the table DDL
currently the column length is too small @tom_mcgrail can do this
@monika_rajput you will also need to expand default column width in the redshift target