# Can't Edit Leads

**URL:** https://forum.mautic.org/t/cant-edit-leads/1760
**Category:** Product Support
**Created:** [April 19, 2015, 11:47pm UTC](https://forum.mautic.org/t/cant-edit-leads/1760 "2015-04-19T23:47:23Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![katimari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/katimari/32/18_2.png) [@katimari](https://forum.mautic.org/u/katimari)
#### Post date: [April 19, 2015, 11:47pm UTC](https://forum.mautic.org/t/cant-edit-leads/1760/1 "2015-04-19T23:47:23Z")

</div>

Hi,  
  
I tried to reply to some other people’s conversations on this but the pages would not let me.  
  
  
  
I was able to edit leads all day today and then suddenly I was not. After some trouble shooting, I realized it had to do with the number of fields I had created. If I delete the last field I added (for my leads) the lead editing will work. If I add one back in (doesn’t matter what name I use for it or where I put it) it breaks the editing functionality.  
  
  
  
31 seems to be the magic number - 31 fields won’t work, 30 will.  
  
  
  
The error I am seeing in the chrome console if an Internal server Error related to libraries.js line 670 and the error I receive is Uncaught Syntax Error: Unexpected token \>  
  
  
  
Kate

---

<div class="post-metadata">

### Author: ![katimari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/katimari/32/18_2.png) [@katimari](https://forum.mautic.org/u/katimari)
#### Post date: [April 19, 2015, 11:47pm UTC](https://forum.mautic.org/t/cant-edit-leads/1760/2 "2015-04-19T23:47:23Z")

</div>

Hi,  
I tried to reply to some other people’s conversations on this but the pages would not let me.

I was able to edit leads all day today and then suddenly I was not. After some trouble shooting, I realized it had to do with the number of fields I had created. If I delete the last field I added (for my leads) the lead editing will work. If I add one back in (doesn’t matter what name I use for it or where I put it) it breaks the editing functionality.

31 seems to be the magic number - 31 fields won’t work, 30 will.

The error I am seeing in the chrome console if an Internal server Error related to libraries.js line 670 and the error I receive is Uncaught Syntax Error: Unexpected token \>

Kate

---

<div class="post-metadata">

### Author: ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)
#### Post date: [April 19, 2015, 11:57pm UTC](https://forum.mautic.org/t/cant-edit-leads/1760/3 "2015-04-19T23:57:59Z")

</div>

Hi Kate,

Would you mind checking your app/logs/mautic\_prod.php file to see what exceptions if any are recorded?

Thanks!  
Alan

---

<div class="post-metadata">

### Author: ![katimari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/katimari/32/18_2.png) [@katimari](https://forum.mautic.org/u/katimari)
#### Post date: [April 20, 2015, 12:55am UTC](https://forum.mautic.org/t/cant-edit-leads/1760/4 "2015-04-20T00:55:10Z")

</div>

Hi Alan,  
The only thing in the file is a mail error from 04-03-2015 (assuming that is nothing) - let me know if you want me to check anything else or need me to replicate the error and check something.

Kate

---

<div class="post-metadata">

### Author: ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)
#### Post date: [April 20, 2015, 1:04am UTC](https://forum.mautic.org/t/cant-edit-leads/1760/5 "2015-04-20T01:04:08Z")

</div>

Hi Kate,

Do you know how to use the browsers developer console? If so, replicate the issue then look at the response to the Ajax request to see what the response is. If not, what browser are you using?

---

<div class="post-metadata">

### Author: ![katimari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/katimari/32/18_2.png) [@katimari](https://forum.mautic.org/u/katimari)
#### Post date: [April 20, 2015, 1:22am UTC](https://forum.mautic.org/t/cant-edit-leads/1760/6 "2015-04-20T01:22:10Z")

</div>

Hi Alan - this is what I see (the problem happens in both Firefox and Chrome)  
Failed to load resource: the server responded with a status of 500 (Internal Server Error) [http://mysite.com/mautic/s/leads/edit/1?\_=1429496140665&mauticUserLastActive=1&mauticLastNotificationId=316](http://mysite.com/mautic/s/leads/edit/1?_=1429496140665&mauticUserLastActive=1&mauticLastNotificationId=316)  
1:1 Uncaught SyntaxError: Unexpected token \>

In the firebug I see this  
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data - libraries.js (line 599)  
…rguments.length\>0?this.on(name,null,data,fn):this.trigger(name);};});jQuery.fn.e…

---

<div class="post-metadata">

### Author: ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)
#### Post date: [April 20, 2015, 3:49am UTC](https://forum.mautic.org/t/cant-edit-leads/1760/7 "2015-04-20T03:49:58Z")

</div>

In firebug, there should be a response tab.

![](http://dvkrd.co/drop/2015-04-20_00-46-10.png)

Is there any output there?

Thanks!  
Alan

---

<div class="post-metadata">

### Author: ![katimari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/katimari/32/18_2.png) [@katimari](https://forum.mautic.org/u/katimari)
#### Post date: [April 22, 2015, 2:59am UTC](https://forum.mautic.org/t/cant-edit-leads/1760/8 "2015-04-22T02:59:23Z")

</div>

Testing to see if this posts saves (tried to post code & it didn’t save)

---

<div class="post-metadata">

### Author: ![katimari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/katimari/32/18_2.png) [@katimari](https://forum.mautic.org/u/katimari)
#### Post date: [April 22, 2015, 3:04am UTC](https://forum.mautic.org/t/cant-edit-leads/1760/9 "2015-04-22T03:04:51Z")

</div>

Hi Alan,  
I do see a lot of code in that tab - when I try to paste it in here it causes my replies not to be saved though - the response starts with the boy-layout div, is there anything I can look for for you or another way to get it to you?

Kate

---

<div class="post-metadata">

### Author: ![gmillard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gmillard/32/5_2.png) [@gmillard](https://forum.mautic.org/u/gmillard)
#### Post date: [April 22, 2015, 11:40am UTC](https://forum.mautic.org/t/cant-edit-leads/1760/10 "2015-04-22T11:40:55Z")

</div>

Try to paste it into a text file, upload somewhere (Dropbox, Drive, website via ftp), and post the link here.

Thanks!  
Alan

---

<div class="post-metadata">

### Author: ![c0nart1st](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@c0nart1st](https://forum.mautic.org/u/c0nart1st)
#### Post date: [June 1, 2015, 4:34pm UTC](https://forum.mautic.org/t/cant-edit-leads/1760/11 "2015-06-01T16:34:24Z")

</div>

Hey everyone… I’m rendering a similar response on my installation, but only when I go to edit certain leads. Many I can edit, but only the first 3 or 4 listed won’t open… was a solution found to this issue?

Thanks,

Conor

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [February 2, 2020, 10:59pm UTC](https://forum.mautic.org/t/cant-edit-leads/1760/12 "2020-02-02T22:59:45Z")

</div>


