Skip to main content
September 15, 2022
Question

Unable to write data using Python in JupyterLab Notebook

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')
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

kautuk_sahni
Adobe Employee
Adobe Employee
October 18, 2024

@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.

Translate
Kautuk Sahni