Open sdorheim opened 2 years ago
The manifest that triggered the issue. Adding a correct dataSetExternalId where the deploy-principal had access solved the API-error.
externalId: "cdf:assets:upsert:tr-001:assets"
name: "cdf:assets:upsert:tr-001:assets"
destination:
type: "asset_hierarchy"
shared: True
action: "upsert"
query:
file: "assets.sql"
ignoreNullFields: False
notifications:
- aaa.bbb@ccc.com
authentication:
clientId: ${RUN_AS_CLIENT_ID}
clientSecret: ${RUN_AS_CLIENT_SECRET}
tokenUrl: ${TRANSFORMATIONS_TOKEN_URL}
scopes:
- ${TRANSFORMATIONS_SCOPES}
cdfProjectName: ${TRANSFORMATIONS_PROJECT}
Created a bug from this issue report https://cognitedata.atlassian.net/browse/CDF-15431 FYI @SunilVenekarKrishnamoorthy
Hi @sdorheim, sorry for the delay. We fixed the issue, can you validate if it works for you? (I understand if you don't remember the issue, it's been a while :D) If it is fixed on your end, I'll close this issue.
When trying to deploy a transformation to bluefield I get an API error, but the CLI crashes before it can output the actual error message. Below you can see the trace of the error.
Debugging the issue a bit further I could find out the the error that causes the failure is of type: " <class 'cognite.client.exceptions.CogniteAPIError'> " with message: "Can not write transformation with dataSetId: null."