Legacy Knowledge Base
Publicado Jun. 25, 2030

Issue while adding, publishing and deleting the objects

Written By

Rishabh Agrawal

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Unable to add, publish, and delete the objects in Liferay.
  • Below are the observed errors:
    1. Uncaught (in promise) SyntaxError: Unexpected token '<', "<HTML><HEA"... is not valid JSON.
    2. Failed to load resource: the server responded with a status of 501 ()
    3. Unsupported Request DELETE to /o/object-admin/v1.0/object-definitions/1069387 not supported.. Reference #8.86cf2e17.1723788446.87c05fcc. https://errors.edgesuite.net/8.86cf2e17.1723788446.87c05fcc"
    4. Unsupported request PUT to /o/object-admin/v1.0/object-definitions/by-external-reference-code/a3427bed-d2c6-f249-68a7-30d58df06123 not supported.

Environment

  • Liferay DXP [all versions]

Resolution

  1. The issue is from Akamai's side wherein there might be restrictions on PUT and DELETE requests that should be enabled.
  2. The error "Unsupported Request DELETE to /o/object-admin/v1.0/object-definitions/1069387 not supported.. Reference #8.86cf2e17.1723788446.87c05fcc. https://errors.edgesuite.net/8.86cf2e17.1723788446.87c05fcc" has the response which is generated by edgesuite.net (Akamai).
  3. When there is a domain (edgesuite.net), it indicates that the content being delivered is routed through Akamai's CDN network. Moreover, there is also a transaction ID in the above error that can be used and checked with Akamai support about the motive of the failure.

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base