[Vtigercrm-developers] Webservices login troublesome on 7.3

Uma S uma.s at vtiger.com
Sun Jan 17 07:53:32 GMT 2021


Hi Sukhdev,

>>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.

This is activated through module level duplicate prevention configuration
from layout editor.
Regarding error code we should review this, Please do create an issue for
this in code.vtiger.com.

[image: Duplicate_prevention.png]





On Wed, Jan 13, 2021 at 4:11 PM Sukhdev Mohan <s.mohan at myti.it> wrote:

> Hi Uma,
>
> Yes the user is created successfully and is active.
>
> 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.
>
> 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.
>
> Best Regards,
> *Sukhdev Mohan* | *Software Developer*
>
> Myti S.r.l - share the path
> Via Branze 44, Brescia
>
> tel  030 35.34.823
> fax 030 51.09.322
> https://www.myti.it/
>
>
>
>
>
>
>
> Il giorno 13 gen 2021, alle ore 11:26, Uma S <uma.s at vtiger.com> ha
> scritto:
>
> Hi Sukhdev,
>
> There's not any particular procedure to enable webservice for a user.
>
> But i would like to know, Is the user successfully created via web
> services?
>
> Because I could see some Reference
> <https://discussions.vtiger.com/discussion/188804/creating-users-by-webservice>
> on failing to create a user through web service, Due to reference Role
> field value.
>
> On Mon, Jan 11, 2021 at 9:56 PM Sukhdev Mohan <s.mohan at myti.it> wrote:
>
>> Hi All,
>>
>> 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 “
>> INVALID_AUTH_TOKEN”
>>
>> 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.
>>
>> Is there a procedure to enable web services for a user? It’s a bug? Any
>> help would be great and save my sanity...
>>
>>
>> Best Regards,
>> *Sukhdev Mohan* | *Software Developer*
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> http://www.vtiger.com/
>
>
>
> --
> With
> Best Regards
> Uma.S
> Vtiger Team
> _______________________________________________
> http://www.vtiger.com/
>
>
> _______________________________________________
> http://www.vtiger.com/



-- 
With
Best Regards
Uma.S
Vtiger Team
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20210117/428584b4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Duplicate_prevention.png
Type: image/png
Size: 119836 bytes
Desc: not available
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20210117/428584b4/attachment-0001.png>


More information about the vtigercrm-developers mailing list