Skip to content

bug: (apps:bundles:create) shows misleading error when hitting storage limits #81

@czyber

Description

@czyber

Version

3.0.0

Current behavior

When having 15MB of storage left on the plan, and uploading a bundle that is larger in size, one gets
ERROR You do not have permission to access this resource.

Expected behavior

A better fitting error message s.a.

ERROR Upload exceeds storage plan limits.

Steps to reproduce

  1. Account with x storage left.
  2. Run npx @capawesome/cli apps:bundles:create --channel <channel> --appId <appId> with a Bundle of size > x.

Other information

No response

Doctor

╭────────────────────────────╮
│ │
│ NodeJS version: 22.19.0 │
│ NPM version: 10.9.0 │
│ CLI version: 3.0.0 │
│ OS: macOS 15.6 (Sequoia) │
│ │
╰────────────────────────────╯

Before submitting

  • I have read and followed the bug report guidelines.
  • I have attached links to possibly related issues and discussions.
  • I understand that incomplete issues (e.g. without reproduction) are closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions