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

[Migrated] CloudFormation stack missing, an error occurred! :( #415

Closed
jneves opened this issue Feb 20, 2021 · 2 comments
Closed

[Migrated] CloudFormation stack missing, an error occurred! :( #415

jneves opened this issue Feb 20, 2021 · 2 comments

Comments

@jneves
Copy link
Contributor

jneves commented Feb 20, 2021

Originally from: Miserlou/Zappa#1067 by nautilus28

It looks like a bug happened when CloudFormation was not enabled.

Calling update for stage dev..
Downloading and installing dependencies...
Packaging project as zip.
Uploading magsoc-javascri-dev-1503661683.zip (5.7MiB)..
Updating Lambda function code..
Updating Lambda function configuration..
Uploading magsoc-javascri-dev-template-1503661725.json (1.6KiB)..
CloudFormation stack missing, re-deploy to enable updates
Oh no! An error occurred! :(

==============

Traceback (most recent call last):
  File "/Users/canhduong/.virtualenvs/magsoc.WebClient/lib/python3.6/site-packages/zappa/cli.py", line 2495, in handle
    sys.exit(cli.handle())
  File "/Users/canhduong/.virtualenvs/magsoc.WebClient/lib/python3.6/site-packages/zappa/cli.py", line 477, in handle
    self.dispatch_command(self.command, stage)
  File "/Users/canhduong/.virtualenvs/magsoc.WebClient/lib/python3.6/site-packages/zappa/cli.py", line 521, in dispatch_command
    self.update()
  File "/Users/canhduong/.virtualenvs/magsoc.WebClient/lib/python3.6/site-packages/zappa/cli.py", line 909, in update
    self.zappa.add_binary_support(api_id=api_id, cors=self.cors)
  File "/Users/canhduong/.virtualenvs/magsoc.WebClient/lib/python3.6/site-packages/zappa/core.py", line 1325, in add_binary_support
    restApiId=api_id
  File "/Users/canhduong/.virtualenvs/magsoc.WebClient/lib/python3.6/site-packages/botocore/client.py", line 253, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/Users/canhduong/.virtualenvs/magsoc.WebClient/lib/python3.6/site-packages/botocore/client.py", line 531, in _make_api_call
    api_params, operation_model, context=request_context)
  File "/Users/canhduong/.virtualenvs/magsoc.WebClient/lib/python3.6/site-packages/botocore/client.py", line 586, in _convert_to_request_dict
    api_params, operation_model)
  File "/Users/canhduong/.virtualenvs/magsoc.WebClient/lib/python3.6/site-packages/botocore/validate.py", line 291, in serialize_to_request
    raise ParamValidationError(report=report.generate_report())
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid type for parameter restApiId, value: None, type: <class 'NoneType'>, valid types: <class 'str'>
@danaki
Copy link

danaki commented Mar 4, 2022

Same issue here. Probably helps disabling

"binary_support": false

@monkut
Copy link
Collaborator

monkut commented Jul 16, 2022

old migrated issue, consider resolved.

closing.

@monkut monkut closed this as completed Jul 16, 2022
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

3 participants