Skip to content

Error When Running labs.run_model_bpa Command #181

Closed
@AndreaTodaro

Description

@AndreaTodaro

Issue Report: Error When Running labs.run_model_bpa Command

Command Executed:

labs.run_model_bpa(dataset='AAA', workspace='BBB', language='fr-FR', export='table')

Error Message:

AmoException: The 'Database' with 'Name' = 'AAA' doesn't exist in the collection.

Description:
When attempting to execute the labs.run_model_bpa command with the specified parameters, we encounter an AmoException indicating that the database named 'AAA' does not exist. This error occurs even though the account executing the command is an admin of the workspace 'BBB' that contains the semantic model.

Context:

  • The dataset 'AAA' exist in the specified workspace.
  • The user account running the command is an workspace admin, which typically should have access to all resources in the workspace.
    - Notably, if we take control of the model, the command executes successfully.

Possible Causes:

  1. Database Ownership: The model might require ownership permissions.
error

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions