Skip to content

Confusing Error Message "The provided space does not exist or you do not have access" #2753

@affenvincent

Description

@affenvincent

Expected Behavior

Having detailed error messages which indicate exactly why a script couldn't be executed

Actual Behavior

While trying to run a migration script I encountered following error message: "Error: The provided space does not exist or you do not have access". This lead to some confusion on my end since I was sure that all parameters were correct.

After debugging the contentful cli I noticed that the error was that the maximum response size got exceeded rather than an access restriction

Possible Solution

Printing out more detailed information about the actual API response in case of an error during the migration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions