AWS Integration not working | ConfigError: Missing region in config

ConfigError: Missing region in config

at Request.VALIDATE_REGION (/tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/event_listeners.js:94:47)

at Request.callListeners (/tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/sequential_executor.js:106:20)

at callNextListener (/tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/sequential_executor.js:96:12)

at /tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/event_listeners.js:86:9

at finish (/tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/config.js:396:7)

at getStaticCredentials (/tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/config.js:423:7)

at Config.getCredentials (/tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/config.js:430:9)

at Request.VALIDATE_CREDENTIALS (/tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/event_listeners.js:81:26)

at Request.callListeners (/tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/sequential_executor.js:102:18)

at Request.emit (/tmp/tmp-9SoH1XUJJoiJw/639dba8c44135c31d5c2499287ef7d5f23b90a4821964bb52009e6947ecefe8b/node_modules/aws-sdk/lib/sequential_executor.js:78:10)

I am getting this config error,

I am simply testing this trigger https://pipedream.com/apps/aws/triggers/new-records-returned-by-cloudwatch-logs-insights-query

it has blocked me, don’t know how to resolve

Hi @naitik ,

Sounds like the AWS region is somehow not being passed to the underlying AWS SDK.

Yet it appears to be defined within the action itself here:

The AWS SDK docs say you can define an environment variable to define the region.

Maybe try setting AWS_REGION=us-east-1 in your Pipedream environment variables?

Hey @pierce ,

I did set a new environment variable in pipedream settings.

Then when I tried creating a new Source it threw me the same error:

Thanks for replying