Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.

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')
1 Reply

Avatar

Administrator

@coreyac1 If you have successfully found a solution on your own, we kindly ask that you share it with the community for future reference and mark it as the correct answer.



Kautuk Sahni