<div dir="ltr">Hi Sukhdev,<div><br></div><div>>>Sinc we fare talking about API, I noticed that 7.3 has check on duplicates in Orgs, this is very cool and needed feature. For which other modules it’s active? How does it works? How can you activate it? Also the error shown has code 0 while all the other error have a string as a code.<br></div><div><br></div><div>This is activated through module level duplicate prevention configuration from layout editor. </div><div>Regarding error code we should review this, Please do create an issue for this in <a href="http://code.vtiger.com">code.vtiger.com</a>.</div><div><br></div><div><img src="cid:ii_kk0ueikc0" alt="Duplicate_prevention.png" width="503" height="233"><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 13, 2021 at 4:11 PM Sukhdev Mohan <<a href="mailto:s.mohan@myti.it">s.mohan@myti.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Uma,<div><br></div><div>Yes the user is created successfully and is active.</div><div><br></div><div>I found what was causing the error… Somebody previous to me created the api for an old version and have had commented the check on type of request, basically it was always using $_REQUEST instead of $_GET or $_POST.  Still I don’t know why would someone do that. So It was an internal misconfiguration, now we use the standard distribution.</div><div><br></div><div>Sinc we fare talking about API, I noticed that 7.3 has check on duplicates in Orgs, this is very cool and needed feature. For which other modules it’s active? How does it works? How can you activate it? Also the error shown has code 0 while all the other error have a string as a code.</div><div><br><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div>Best Regards,<br><b>Sukhdev Mohan</b> | <b>Software Developer</b><br><br>Myti S.r.l - share the path<br>Via Branze 44, Brescia<br><br>tel  030 35.34.823<br>fax 030 51.09.322<br><a href="https://www.myti.it/" target="_blank">https://www.myti.it/</a></div></div><br></div><br></div><br></div><br></div><br><br>
</div>
<div><br><blockquote type="cite"><div>Il giorno 13 gen 2021, alle ore 11:26, Uma S <<a href="mailto:uma.s@vtiger.com" target="_blank">uma.s@vtiger.com</a>> ha scritto:</div><br><div><div dir="ltr">Hi Sukhdev,<div><br></div><div>There's not any particular procedure to enable webservice for a user.</div><div><br></div><div>But i would like to know, Is the user successfully created via web services?</div><div><br></div><div>Because I could see some <a href="https://discussions.vtiger.com/discussion/188804/creating-users-by-webservice" target="_blank">Reference</a> on failing to create a user through web service, Due to reference Role field value.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 11, 2021 at 9:56 PM Sukhdev Mohan <<a href="mailto:s.mohan@myti.it" target="_blank">s.mohan@myti.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Hi All,<div><br></div><div>Today I installed a fresh vtiger 7.3 with all the hotfixes. I’ve created a webservice user and was trying to login but I'm continuing to get <span style="background-color:rgb(255,255,254)"><span style="color:rgb(4,81,165);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap">“</span><span style="color:rgb(4,81,165);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;white-space:pre-wrap">INVALID_AUTH_TOKEN</span><font face="Menlo, Monaco, Courier New, monospace"><span style="color:rgb(4,81,165);font-size:12px;white-space:pre-wrap">”</span></font></span></div><div><br></div><div>After some debugging in vtws_login() I was able to know that the function isn’t receiving username and I don’t quite frankly understand how is this possible since it’s a parameter in the request.</div><div><br></div><div>Is there a procedure to enable web services for a user? It’s a bug? Any help would be great and save my sanity...</div><div><br></div><div><br><div>
<div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div>Best Regards,<br><b>Sukhdev Mohan</b> | <b>Software Developer</b></div></div></div><br></div><br></div><br></div><br><br>
</div>

<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>
_______________________________________________<br><a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a></div></blockquote></div><br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">With<br>Best Regards<br>Uma.S<br><div>Vtiger Team</div></div></div>