Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.

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