Could not display interface.Please check definition and inputs error.【status code 500 error】

Hi,
Can i ask a question.
When submit button clicked and call integration object.
In the integration object status code 500 error has occured.

I got error[Could not display interface.Please check definition and inputs error].
Just i want to show error message on interface how to configure it?
When click the link of[Click here to dimiss the error message and see the resulting interface]
i can confirm the error message but i don't want to confirm like this method.
I want to display an error message when I click the button.

Plz reference below of screenshot.

Thanks.

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Thank u for your reply.It does not work.

    integration object is called by clicking the button.
    if  500 error occurs on the integration side, it could not be controlled by if() conditon on the interface side.

  • 0
    Certified Senior Developer
    in reply to spykid

    can you post your code here ? so that we can see.

  • HERE IS MY INTERFACE CODE

    a!localVariables(
    local!name,
    local!error,
    a!formLayout(
    label: "Register",
    contents: {
    a!sectionLayout(
    label: "",
    contents: {
    a!textField(
    label: "Name",
    labelPosition: "ABOVE",
    value: local!name,
    saveInto: local!name,
    refreshAfter: "UNFOCUS",
    validations: {}
    )
    }
    ),
    a!textField(
    label: "Error",
    labelPosition: "ABOVE",
    value: local!error,
    saveInto: local!error,
    refreshAfter: "UNFOCUS",
    validations: {}
    )
    },
    buttons: a!buttonLayout(
    primaryButtons: {
    a!buttonWidget(
    label: "Submit",
    saveInto: rule!EA_PostByName(
    namerule: local!name,
    onSuccess: {},
    onError: a!save(local!error, fv!error)
    ),
    submit: true,
    style: "PRIMARY"
    )
    },
    secondaryButtons: {
    a!buttonWidget(
    label: "Cancel",
    value: true,
    saveInto: ri!cancel,
    submit: true,
    style: "NORMAL",
    validate: false
    )
    }
    )
    )
    )