Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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