Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lambda handler: KeyError ['params'] in Create dataset step of AWS SNS #107

Open
agarwalanant opened this issue Feb 10, 2021 · 0 comments
Open

Comments

@agarwalanant
Copy link

While trying to deploy my forecast project in the retail domain I got the following error in the 'create dataset' step function when I start executing it.

KeyError: 'params'Traceback (most recent call last):  File "/var/task/dataset.py", line 12, in lambda_handler    datasets = event['params']['Datasets'] [ERROR] KeyError: 'params' Traceback (most recent call last):   File "/var/task/dataset.py", line 12, in lambda_handler     datasets = event['params']['Datasets']

I have uploaded the training dataset into S3 and it looks likes below:
image
image

As the training file is available in the specified S3 bucket mention at stack the event must be created, I am not able to find the root cause of the error.
Also attaching my params.json as a txt file.
params.txt

Please help me out....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant