Skip to content

Add error handling when Amplify AppId is invalid and doesn't exist in the configured region #7

@Amplifiyer

Description

@Amplifiyer

Environment information

N/A

Describe the bug

When appId is provided as an input argument for any of the cli commands, there is currently no validation that it exists in the Amplify service in the configured account and region. We should detect it and notify customers about it before it fails in the service.

Reproduction steps

e.g. running this command npx ampx generate graphql-client-code --app-id d1st9sfxoeuu3r --branch mybranch with invalid app-id throws service error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Amazon Q development agentGenerate new features or iterate code based on issue descriptions and comments.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions