turbot / flowpipe

Flowpipe is a cloud scripting engine. Automation and workflow to connect your clouds to the people, systems and data that matters.
https://flowpipe.io
GNU Affero General Public License v3.0
361 stars 13 forks source link

Unclear error message when passing in credential name that doesn't exist #476

Closed cbruno10 closed 5 months ago

cbruno10 commented 9 months ago

If I run:

flowpipe pipeline run list_contact_lists --arg cred=non_existent_creds

And I don't have any sendgrid credentials called non_existent_creds in my ~/.flowpipe/config/sendgrid.fpc, I get this error:

[flowpipe] Execution ID: exec_clpp447e58chdshtfqgg
[list_contact_lists] Starting pipeline
[list_contact_lists] Internal Error: list_contact_lists: Unsupported attribute: This object does not have an attribute named "sendgrid".
(/Users/cbruno/flowpipe/sendgrid/pipelines/list/list_contact_lists.fp:17,43-52)
Unsuitable value type: Unsuitable value: value must be known
(/Users/cbruno/flowpipe/sendgrid/pipelines/list/list_contact_lists.fp:15,23-24)

Pipeline definition - https://github.com/turbot/flowpipe-mod-sendgrid/blob/8d28745c0edad66f96112ee420a1c87bd35e6f7d/pipelines/list/list_contact_lists.fp

Subhajit97 commented 9 months ago

Thanks, @cbruno10, for the issue. We have a similar issue already added to our queue. Linking the issue here for better visibility. Ref: https://github.com/turbot/flowpipe/issues/401

github-actions[bot] commented 7 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] commented 5 months ago

This issue was closed because it has been stalled for 90 days with no activity.