Skip to content
This repository was archived by the owner on Dec 25, 2022. It is now read-only.
This repository was archived by the owner on Dec 25, 2022. It is now read-only.

Error "A provided account ID is not valid" when trying init output topic #5

Description

@ApollonSeven

When I try to run init_output_topic.py I get error

$ python3 ./setup/init_output_topic.py dev public
Creating topic scheduler-output-v2-dev
Created topic scheduler-output-v2-dev with arn arn:aws:sns:us-east-1:829736848236:scheduler-output-v2-dev
Granting publish rights to scheduler-output-v2-dev topic for role public
Traceback (most recent call last):
  File "./setup/init_output_topic.py", line 28, in <module>
    permission_response = client.add_permission(
  File "/home/apollon/.local/lib/python3.8/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/apollon/.local/lib/python3.8/site-packages/botocore/client.py", line 661, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.errorfactory.InvalidParameterException: An error occurred (InvalidParameter) when calling the AddPermission operation: Invalid parameter: A provided account ID is not valid

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions