DEV Community

Anden Acitelli
Anden Acitelli

Posted on

Meltano - TypeError: argument of type 'int' is not iterable (Solved)

Ran into this when trying to set up imports and exports with Meltano. The bug ended up being an incorrect .yaml config.

I had:

    config:
      host: meltano-test-cluster.[...].rds.amazonaws.com
      port:
        user: [username]
      dbname: [dbname]
Enter fullscreen mode Exit fullscreen mode

Needed to fix to:

    config:
      host: meltano-test-cluster.[...].rds.amazonaws.com
      port: 5432
      user: [username]
      dbname: [dbname]
Enter fullscreen mode Exit fullscreen mode

Easy in retrospect, but the error message isn't particularly descriptive and I couldn't find much on google, so posting this!

I work at Akkio, a predictive AI service allowing you to do machine learning without any code! Check us out if you're interested in that kind of thing.

Top comments (1)

Collapse
 
edgarrmondragon profile image
Edgar Ramírez

Perhaps Meltano should validate the plugin configuration using JSON schemas