Skip to content

[Bug]: JSON issue while adding the file for Cognify the data #3079

@siddhant-ew

Description

@siddhant-ew

Bug Description

Attaching the error logs while uploading the file for Cognification.

Image

Steps to Reproduce

Upload a file

Expected Behavior

It should get Cognified

Actual Behavior

1

Environment

1

Logs/Error Messages

INFO:     172.19.0.4:45038 - "GET /api/v1/datasets HTTP/1.1" 200 OK
ih-cognee-service   | 2026-06-16 09:00:58,111 - cognee.access - INFO - GET /health -> 200 (0.5ms) rid=67d6b4dc-e9cb-4b8e-84ed-e765f733f7fe
ih-cognee-service   | INFO:     127.0.0.1:57352 - "GET /health HTTP/1.1" 200 OK
ih-cognee-upstream  |
ih-cognee-upstream  | 2026-06-16T09:00:59.591876 [info     ] Skipping LLM/embedding connection tests (COGNEE_SKIP_CONNECTION_TEST is set). [cognee.shared.logging_utils]
ih-cognee-upstream  | --- Logging error ---
ih-cognee-upstream  | Traceback (most recent call last):
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/api/v1/add/routers/get_add_router.py", line 104, in add
ih-cognee-upstream  |     add_run = await cognee_add(
ih-cognee-upstream  |               ^^^^^^^^^^^^^^^^^
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/api/v1/add/add.py", line 313, in add
ih-cognee-upstream  |     result = await pipeline_executor_func(
ih-cognee-upstream  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/modules/pipelines/layers/pipeline_execution_mode.py", line 38, in run_pipeline_blocking
ih-cognee-upstream  |     async for run_info in agen:
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/modules/pipelines/operations/pipeline.py", line 53, in run_pipeline
ih-cognee-upstream  |     async for run_info in run_pipeline_per_dataset(
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/modules/pipelines/operations/pipeline.py", line 106, in run_pipeline_per_dataset
ih-cognee-upstream  |     async for pipeline_run_info in pipeline_run:
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/modules/pipelines/operations/run_tasks.py", line 47, in wrapper
ih-cognee-upstream  |     async for run_info in original_gen(*args, **kwargs):
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/modules/pipelines/operations/run_tasks.py", line 187, in run_tasks
ih-cognee-upstream  |     raise error
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/modules/pipelines/operations/run_tasks.py", line 162, in run_tasks
ih-cognee-upstream  |     graph_engine = await get_graph_engine()
ih-cognee-upstream  |                    ^^^^^^^^^^^^^^^^^^^^^^^^
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/infrastructure/databases/graph/get_graph_engine.py", line 114, in get_graph_engine
ih-cognee-upstream  |     await handle._ensure_initialized()
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/infrastructure/databases/graph/get_graph_engine.py", line 93, in _ensure_initialized
ih-cognee-upstream  |     engine = self._engine()
ih-cognee-upstream  |              ^^^^^^^^^^^^^^
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/infrastructure/databases/graph/get_graph_engine.py", line 90, in _engine
ih-cognee-upstream  |     return create_graph_engine(**self._config)
ih-cognee-upstream  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ih-cognee-upstream  |   File "/usr/local/lib/python3.12/site-packages/cognee/infrastructure/databases/graph/get_graph_engine.py", line 171, in create_graph_engine
ih-cognee-upstream  |     return _create_graph_engine(

Additional Context

1

Pre-submission Checklist

  • I have searched existing issues to ensure this bug hasn't been reported already
  • I have provided a clear and detailed description of the bug
  • I have included steps to reproduce the issue
  • I have included my environment details

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions