ContentCon is almost full! Reserve your spot in Austin on 5/23

Join us at ContentCon
Register Now

April 11, 2022

Restrict Content Types and Global Fields with Upper Case Unique IDs

Post this release, i.e., April 11, 2022, Contentstack will restrict you from creating or importing content types and global fields with unique IDs specified in upper case. If you try to create or import a content type or global field with an uppercase unique ID, your Content Management API (CMA) requests will return an error in the response.

Content Type Related Error Messages

For content type creation requests (with upper case UIDs), you will encounter the following error:

{
    "error_message":"Content Type creation failed. Please try again.",
    "error_code":118,
    "errors":{
        "uid":[
            "is not valid."
        ]
    }
}

For content type import requests (with upper case UIDs), you will encounter the following error:

{
    "error_message":"There was a problem importing the Content Type. Please correct the Content Type and try again.",
    "error_code":118,
    "errors":{
        "uid":[
            "is not valid."
        ]
    }
}

Global Field Related Error Messages

For global field creation requests (with upper case UIDs), you will encounter the following error:

{
    "error_message":"Global Field creation failed. Please try again.",
    "error_code":118,
    "errors":{
        "uid":[
            "is not valid."
        ]
    }
}

For global field import requests (with upper case UIDs), you will encounter the following error:

{
    "error_message":"There was a problem importing the Global Field. Please try again.",
    "error_code":118,
    "errors":{
        "uid":[
            "is not valid."
        ]
    }
}

Was this article helpful?

Thanks for your feedbackSmile-icon

^