ext_onelake.
For general transformation execution and monitoring issues, see Troubleshooting transformations.
Errors while registering
Fabric path part must be a valid GUID
Fabric path part must be a valid GUID
- Use the workspace GUID from Fabric Workspace settings → Workspace ID.
- Use the lakehouse GUID from Fabric Lakehouse settings → Item ID.
- Register the external data source again with
workspaceIdandcontainerIdas GUIDs.
403 on an otherwise valid request
403 on an otherwise valid request
- The API returns HTTP
403. - The message indicates the subject does not have a
READ,WRITE, orUSEaction.
transformationsExternalDataSourcesAcl actions, or the source dataSetId is outside your capability scope.Resolution- Grant
transformationsExternalDataSourcesAclwith the actions you need (READ,WRITE,USE). - If the source has a
dataSetId, scope the capability withdatasetScopethat includes that data set. - Retry the request with the updated group.
409: externalId already exists
409: externalId already exists
409, and no items in the request are created.Cause- The
externalIdalready exists in the project. This endpoint is create-only; it does not update an existing source. - Or two items in the same request use the same
externalId.
- If the
externalIdalready exists, delete that source and register a replacement, or use a newexternalId. - If the
itemsarray repeats anexternalId, keep only one of each. - Retry the request.
Errors when a job runs
Job failures often wrap the cause like:Authentication failure or invalid Fabric credentials
Authentication failure or invalid Fabric credentials
- Confirm tenant ID, client ID, and client secret in Entra ID.
- Create a fresh client secret if the previous one expired.
- Delete the external data source and register a replacement with the updated secret, then run the transformation again.
Permission denied: Contributor required
Permission denied: Contributor required
- The job fails with permission denied accessing OneLake.
- The message states that Viewer is not enough for API access.
- Raise the service principal role to at least Contributor in Fabric.
- Confirm the tenant allows service principals to use Fabric APIs.
- Rerun the transformation.
Table not found or not a Delta table
Table not found or not a Delta table
- Check table name spelling and case.
- Confirm the table is Delta under the lakehouse
Tables/area. - If the table sits under a schema folder, use the three-argument
ext_onelakeform.
Path does not exist in OneLake
Path does not exist in OneLake
ext_onelake arguments does not exist.Resolution- Re-check
workspaceIdandcontainerIdGUIDs on the registered source. - Confirm the table name (and optional schema) in
ext_onelake. - Use the three-argument form if the table is under
Tables/{schema}/{table}.
Cannot use external data source or missing USE
Cannot use external data source or missing USE
USE action.CauseThe source externalId is wrong or missing, or the running identity lacks transformationsExternalDataSourcesAcl:USE (including data set scope).Resolution- Confirm the
externalIdin SQL matches a registered source. - Grant
USEontransformationsExternalDataSourcesAclto the identity that runs the transformation. - If the source has a
dataSetId, ensure data set scope includes it.
Errors in SQL
Invalid ext_onelake arguments
Invalid ext_onelake arguments
- The query fails with a message that
ext_onelake()expects externalId, table name, and optionally schema. - A parameter must be a string literal.
- Use two arguments (
externalId, table) or three (externalId, table, schema). - Pass only quoted string literals—no column references, variables, or expressions.
- Use
ext_onelakeonly as aSELECTsource.
is_new with table alias only
is_new with table alias only
is_new('cursor', a) for a OneLake source.CauseFor Fabric OneLake, is_new requires a version column, not the table alias. The alias form is for data modeling sources (cdf_nodes, cdf_edges, cdf_data_models).Resolution- Pass a column such as
a.lastUpdatedTime(or your table’s equivalentTIMESTAMPor epoch-millisecondLONGcolumn). - See Read Fabric OneLake data in transformations and SQL patterns and best practices.
Limits
Default volume and concurrency limits for this path are Cognite-managed. There is no customer configuration page for these limits.OneLake concurrency limit exceeded
OneLake concurrency limit exceeded
- Reduce concurrent transformations that read OneLake.
- Contact Cognite Support to request a higher concurrency limit.
OneLake read volume limit exceeded
OneLake read volume limit exceeded
- Reduce scan volume (for example with
is_new()when a version column exists). - Contact Cognite Support to request a higher read volume limit.
Known limitations
Extra, deleted, or updated rows appear in results
Extra, deleted, or updated rows appear in results
ext_onelakereturns more rows than Fabric Spark SQL or the SQL analytics endpoint.- Extra rows are older versions after
MERGE,UPDATE, orDELETE. - Rows deleted in Fabric can still appear.
ROW_NUMBER()does not drop them.
ext_onelake does not yet apply, so removed rows are still read.ResolutionChoose the option that fits your access to the source table:-
Purge at the source (preferred). In Fabric, physically remove the soft-deleted rows before the transformation runs. Pick one of these commands, then re-run the transformation and confirm the row count matches Fabric:
OPTIMIZE table_name. Start here. It purges only files in which more than 5% of rows are referenced by deletion vectors. Deleted rows in files below that threshold can still appear.REORG TABLE table_name APPLY (PURGE), thenVACUUM. Use this when deleted rows still appear afterOPTIMIZE, or when deletes must always be reflected.REORGrewrites the affected files regardless of the 5% threshold.VACUUMthen removes files that are no longer referenced.
-
Source table is a shortcut you cannot maintain. If the table is a OneLake shortcut to a lakehouse or warehouse in another workspace,
REORGfails because the source owns the physical files. In Fabric, not in Transformations SQL, copy the data into a lakehouse you own with a Spark notebook or pipeline. Fabric applies deletion vectors on read. Then pointext_onelakeat the copy: -
De-duplicate in the transformation (partial). Keep only the latest version per key. This suppresses duplicate versions but does not remove fully deleted records. Replace
equipment_idandlast_updated_atwith your key and version columns:A record deleted in Fabric has no newer version, so its masked row can still appear asrn = 1. Use option 1 or 2 when deletes must be reflected.