APIs & Integrations

2CUBE-Studio
Participant

CONTENT_NAME_MISSING Issue when I create the page using API

Hello,

 

I was trying to create website page and landing page using Pages API but it's not working at my end.

 

I was getting this issue from server.

 

HTTP 400

{
  "correlationId": "c3210cea-319b-4e88-bcf8-6bdb34eb7039",
  "errorTokens": {
    "contentType": [
      "LANDING_PAGE"
    ]
  },
  "errorType": "CONTENT_NAME_MISSING",
  "message": "You need to provide a name for this LANDING_PAGE.",
  "status": "error"
}

 

The same issue I faced in website pages as well.

 

I'm trying to add LANDING_PAGE as a params but at that time I faced same issue

0 Upvotes
3 Replies 3
weiliang_lee
Top Contributor | Diamond Partner
Top Contributor | Diamond Partner

CONTENT_NAME_MISSING Issue when I create the page using API

Hi @2CUBE-Studio I personally haven't used the Pages API before but I could give a shot at it from your error messaging.

 

1. Can I confirm that you are trying to use this endpoint?

POST /cms/v3/pages/landing-pages

 

2. Also could you share a sample of the request body that you sending to the API? 

 

Based on your error message it seems you are missing the required parameter for name.

 

Cheers

WL

2CUBE-Studio
Participant

CONTENT_NAME_MISSING Issue when I create the page using API

I was getting soluction using V2 API. but V3 API, I also tried to add name or "LANDING_PAGE", but it's not work

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

CONTENT_NAME_MISSING Issue when I create the page using API

Hi, @2CUBE-Studio 👋 Thanks for reaching out. Hey, @Anton @weiliang_lee, do you have any experience here?

 

Best,

Jaycee


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes