phpwalmart-api

Walmart API Error - Undeclared general entity "rsquo" at [row,col {unknown-source}]


While submitting POST request to the Walmart API. Item Feed is submitted completely and Feed Id is also generated.

But while checking details for that Feed ID using Feed Status, I'm getting below error.

Undeclared general entity "rsquo" at [row,col {unknown-source}]

stdClass Object
(
    [ingestionError] => Array
        (
            [0] => stdClass Object
                (
                    [type] => DATA_ERROR
                    [code] => ERR_EXT_DATA_0801001
                    [field] => IB
                    [description] => Undeclared general entity "rsquo"
 at [row,col {unknown-source}]: [14,49]
                )

        )

)

Solution

  • It was the issue of description text.

    ’ = Right Single Quote

    I have replaced ’ with ’

    There were other issues like hellip (…) for which i replaced with ….

    Reference I have taken is as follows:

    https://www.htmlhelp.com/reference/html40/entities/symbols.html