Issue with Project Creation via `/v0/projects` API on Dremio Cloud (EU Region)

Description:

I am encountering an issue with the /v0/projects endpoint on api.eu.dremio.cloud where adding a project appears to be failing despite following the documentation.

  • Context:
    • I am using an IAM_ROLE for authentication.
    • The error message received is: Cannot access the project store, which seems similar to the error referenced in the Dremio documentation here.
    • AWS STS is enabled and functioning correctly for the CloudFormation Template (CFT).
  • Observations:
    • Manually configuring the project through the Dremio UI allows for successful project creation.
    • When inspecting the request body attached to the “Add Project” dialog in the UI (https://app.eu.dremio.cloud/ui/projects), it does not require an externalSignatureId, unlike the documentation which states that the /v0/projects API endpoint requires this parameter.

Steps to Reproduce:

  1. Attempt to create a project using the /v0/projects API with an IAM_ROLE.
  2. Observe the error Cannot access the project store .

Expected Behavior:

The project should be created successfully when using the /v0/projects API endpoint with the appropriate IAM_ROLE and required parameters.

Actual Behavior:

Project creation fails with a project store not accessible error.

Additional Information:

I suspect there might be a discrepancy between the documentation and the actual behavior of the API, especially concerning the requirement of externalSignatureId. Or possibly tied to the lack of context for the EU’s trustAccountId. :person_shrugging:

Request:

Could you please investigate this issue? It would be helpful to clarify if there is a difference in behavior between the UI and the API or if there’s an update required in the documentation.

Thank you!

I’ve sorted out the issue with the /v0/projects endpoint. I’m not sure if i missed it in the documentation the first time or if it was added after. Specifically the add project curl example is missing a parameter that is outlined above.

curl -X POST 'https://api.dremio.cloud/v0/projects' \
-H 'Authorization: Bearer <personal access token>' \
-H 'Content-Type: application/json' \
-d '{
  "name": "docproject",
  "requestId": "a7801e74-6c34-48b4-9e42-2cacdf06d31c",
  "cloudId": "37b34779-13f1-48e5-b2c8-f3db4c824733",
  "projectStore": "my.dremio.store",
  "credentials": {
    "type": "ACCESS_KEY",
    "accessKeyId": "AKIAJIPU77TQL8LR6OIR",
    "secretAccessKey": "vJalrXUtnFEMI/K7MDENG/bPxRfiDYEXAMPLEKEY"
  },
  "type": "QUERY_ENGINE"
}'

is missing the field “catalogName”

1 Like