Skip to content

API v2 returning duplicate entry's #18618

@mhuijser-dc

Description

@mhuijser-dc

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

15.2.2

Bug summary

We're encountering an issue with the Umbraco V2 API where a specific call returns multiple headers with the same value. In the CMS, the values are configured correctly, but the data received from the API doesn't match what’s set in the CMS. We suspect this might be related to the blueprints used in Umbraco, but we haven't been able to confirm it yet.

Specifics

Image

Steps to reproduce

Steps to Reproduce

Check CMS Configuration

Open the Umbraco CMS.
Navigate to the section where the headers are configured.
Verify that the expected value (e.g., "Detail page header") appears only once.
Execute the API Call

Make the following API request:

GET https://umbraco.io/umbraco/delivery/api/v2/content?fetch=children:&fields=properties[$all[properties[$all[properties[$all]]]]]&sort=createDate:desc&skip=24&take=12

Use a tool like Postman, cURL, or the browser console to execute the request.

Inspect the Response

Look at the response payload, specifically the headers.
Identify if "Detail page header" appears multiple times in the generic header where it should only appear once.

Compare with CMS Data

Check if the response values match what is configured in the CMS.
If they do not, note the discrepancies.

Investigate Umbraco Blueprints (If Applicable)

If content is created from a Blueprint, verify whether the blueprint contains duplicate header values.
Try creating a new item without using a blueprint and see if the issue persists.

Determine if other headers also have duplicated values or if this is isolated to "Detail page header".
If other headers are affected, the issue might be a general duplication problem in the API.

Expected result / actual result

Expected Behavior:
The "Article page title" value should appear only once in the appropriate header.

Actual Behavior:
The value appears multiple times where it should only appear once.

Potential Causes:
Umbraco Blueprints might be duplicating data.
An issue in the API response processing.
Data corruption or unintended duplication in the CMS.


This item has been added to our backlog AB#50330

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions