Duplicate Contact display ERROR 505 Instead of ERROR Message

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VigneshChinnaiyan
    Member
    • Jan 2018
    • 61

    Duplicate Contact display ERROR 505 Instead of ERROR Message

    I face this ERROR 500 Issue when i create a duplicate Contact Number, So how do i fix this issue and how to show the custom error message. Please help me on this.

    Thanks.
    Last edited by VigneshChinnaiyan; 02-22-2018, 10:38 AM.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    500 error, not 505
    EspoCRM reflects in other way to duplicates. Did you customize EspoCRM with developing?
    Check espocrm log and apache error log, please

    Comment

    • VigneshChinnaiyan
      Member
      • Jan 2018
      • 61

      #3
      Yes ERROR 500, I Did customized something. So how can i fix this, Can you please help.

      Thanks.

      Comment

      • VigneshChinnaiyan
        Member
        • Jan 2018
        • 61

        #4
        My ESPO Error Log.

        [2018-02-22 10:28:15] Espo.ERROR: API [POST]:/:controller, Params:Array ( [controller] => Contact ) , InputData: {"firstName":"vv","lastName":"vv","opportunityRole ":"","propertyRole":"","preferredContact":false,"a ssignedUserId":"1","assignedUserName":"Vijay Kumarr","phoneNumberData":[{"phoneNumber":"6866 7366","primary":true,"type":"Mobile"}],"phoneNumber":"6866 7366","salutationName":"Mr.","emailAddressData":[],"emailAddress":null,"title":null,"doNotCall":fals e,"description":"","addressPostalCode":"","address Street":"","addressState":"","addressCity":"","add ressCountry":"","accountsIds":[],"accountsNames":{},"accountsColumns":{},"accountI sInactive":false,"teamsIds":[],"teamsNames":{}} - {"reason":"Duplicate","data":{"5a509c88b942548c3": {"id":"5a509c88b942548c3","name":"SLP Realty Pte Ltd","deleted":false,"salutationName":"","firstNam e":"SLP Realty","lastName":"Pte Ltd","accountId":"5a509c1de5475e85c","title":null, "description":"SLP Realty Pte Ltd\n2 Bukit Merah Central #03-01 Singapore 159835","emailAddress":"investment@oneslp.com","ph oneNumber":"6866 7366","doNotCall":false,"addressStreet":null,"addr essCity":"Singapore","addressState":null,"addressC ountry":"Singapore","addressPostalCode":null,"acco untIsInactive":false,"accountType":"Customer","cre atedAt":"2018-01-06 09:53:12","modifiedAt":"2018-01-06 09:53:15","companyName":null,"preferredContact":fa lse,"companyAddressStreet":null,"companyAddressCit y":null,"companyAddressState":null,"companyAddress Country":null,"companyAddressPostalCode":null,"acc ountName":"SLP International Property Consultants Pte Ltd","campaignId":null,"createdById":"1","createdB yName":"Vijay Kumarr","modifiedById":"1","modifiedByName":"Vijay Kumarr","assignedUserId":"1","assignedUserName":"V ijay Kumarr"}}} [] []
        [2018-02-22 10:28:15] Espo.ERROR: Display Error: {"reason":"Duplicate","data":{"5a509c88b942548c3": {"id":"5a509c88b942548c3","name":"SLP Realty Pte Ltd","deleted":false,"salutationName":"","firstNam e":"SLP Realty","lastName":"Pte Ltd","accountId":"5a509c1de5475e85c","title":null, "description":"SLP Realty Pte Ltd\n2 Bukit Merah Central #03-01 Singapore 159835","emailAddress":"investment@oneslp.com","ph oneNumber":"6866 7366","doNotCall":false,"addressStreet":null,"addr essCity":"Singapore","addressState":null,"addressC ountry":"Singapore","addressPostalCode":null,"acco untIsInactive":false,"accountType":"Customer","cre atedAt":"2018-01-06 09:53:12","modifiedAt":"2018-01-06 09:53:15","companyName":null,"preferredContact":fa lse,"companyAddressStreet":null,"companyAddressCit y":null,"companyAddressState":null,"companyAddress Country":null,"companyAddressPostalCode":null,"acc ountName":"SLP International Property Consultants Pte Ltd","campaignId":null,"createdById":"1","createdB yName":"Vijay Kumarr","modifiedById":"1","modifiedByName":"Vijay Kumarr","assignedUserId":"1","assignedUserName":"V ijay Kumarr"}}}, Code: 409 URL: /crm/api/v1/Contact [] []

        Comment

        • VigneshChinnaiyan
          Member
          • Jan 2018
          • 61

          #5
          Hello tanya can you please suggest me the way to fix this? Just direct me to the file please.

          Comment

          Working...