criteo / criteo-api-python-sdk

4 stars 3 forks source link

ApiTypeError: Invalid type for variable 'contact_list_id' #12

Open ajendrex opened 1 year ago

ajendrex commented 1 year ago

I received the following error when using AudienceApi(client).modify_audience_users() method:

criteo_api_marketingsolutions_v2022_10.exceptions.ApiTypeError: Invalid type for variable 'contact_list_id'. Required value type is str and passed type was int at ['received_data']['data']['attributes']['contact_list_id']

I got rid of the error by adding discard_unknown_keys=True to the configuration initialization, but wanted to let you know here.

ouvreboite commented 1 year ago

Thank you, we will take that into consideration.