Expand my Community achievements bar.

Unable to write data using Python in JupyterLab Notebook

Avatar

Level 1

We started getting the error below last week when we use Python within JupyterLab to write to a dataset. Is anyone else running into this? Any workarounds? Appears Adobe's support engineers are stumped.

 

ValueError: client_id should be the id of an Azure Active Directory application

 Code being used (directly from documentation):

from platform_sdk.models import Dataset
from platform_sdk.dataset_writer import DatasetWriter
dataset = Dataset(get_platform_sdk_client_context()).get_by_id(dataset_id="<dataset ID>")
dataset_writer = DatasetWriter(get_platform_sdk_client_context(), dataset)
write_tracker = dataset_writer.write(df, file_format='json')
0 Replies