Error:400 Bad Request

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yakup aycıl
    Member
    • Jun 2024
    • 76

    Error:400 Bad Request

    Click image for larger version

Name:	image.png
Views:	143
Size:	28.7 KB
ID:	107160
    I created a field called prospective customers. But why is it giving this error while recording?​
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1602

    #2
    This refers to the default field in every espoCRM entity withe the neme "name". You will see this field in every entity and in every new custom entity. You can rename the label, but not the name itself. It is mandatory, becaus it is the default field, which links to the detail view.
    In your case it seems, that you took this field off the layout and substituted by another (own) field. So, as it is mandatory, there is no value in this field, which throws this error.
    If you do not want the name field, you may give it a default value and hide it from the layout. This way it would have a value but you would not have to use it.
    The necessary link to the detal view you may configure in the layout manager by giving another field the link.

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      To disable the "required" parameter, follow: Administration > Entity Manager > {Your Entity Type} > Fields > name. Uncheck "Required" and save.

      You can also utilize formula to set the 'name' field with a value from some another field. It's recommended to have the 'name' field not empty.
      If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

      Comment

      Working...