async with AsyncClient(hostname=CONTEXT_BROKER_HOST, port=CONTEXT_BROKER_PORT, tenant=DEFAULT_TENANT) as client:
await client.batch.upsert(entities, update=True)
ngsildclient.api.asyn.client - INFO - Connecting client ...
ngsildclient.api.exceptions - INFO - problemdetails={'type': 'Unsupported Media type', 'title': 'Unsupported Media type', 'detail': 'No content type header provided'}
ngsildclient.api.exceptions - INFO - pd_type='Unsupported Media type'
ngsildclient.api.exceptions - INFO - exception=None
With the synchronous client everything works fine.