Folders

Laura L
Laura L Registered Posts: 3 ✭✭✭

Hi, I want to save a model written in a python recipe in a Folder, however it generates an error that the Folder must be declared as output. How do I declare the Folder to be able to save pkl's there?

Best Answer

  • Turribeach
    Turribeach Dataiku DSS Core Designer, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 2,425 Neuron
    edited July 2024 Answer ✓

    Please always use code blocks to post error messages and code (the </> icon on the toolbar, see sample below) as they are much easier to read and copy. It's pretty clear from the error you get (see below) that the GCP service account you are using is not permissioned properly in your GCP environment. Contact whoever issued that service account and give them the error and they should be able to solve your problem.

    Job failed: Error in python process: At line 505: <class 'Exception'>: Error: None: b"Failed to connect to GCS, caused by: 10Exception: Cannot find or access bucket sbx-analitica-bkt- x
    1, caused by: GoogleCloudStorageException: sdx-conn-dIp@sbx-analitica.iam.gserviceaccount.com does not have storage.buckets.get access to the Google Cloud Storage bucket.
    Permission 'storage.buckets.get' denied on resource (or it may not exist)."

Answers

Setup Info
    Tags
      Help me…