İçereği Atla
Menü
This question has been flagged
6705 Görünümler

Hi, 


I'm trying to make a xml- rpc call via curl but it returns an error that I can not solve.
Anyone can help ?, thank you very much .

This is the call that I do and the error returned by me :

curl -k https://erp.xxxxxxxx.com/xmlrpc/object --data 
"<methodCall><methodName>execute</methodName>
<param><value>mybbdd</value></param>
                <param><value>149</value></param> <param><value>pass</value></param>
<param><value>res.users</value></param>
                <param><value>search_read</value></param>
<param>
<param><value><array>
<param><value><array>
<param><value><string>user_ids</string></value></param>
<param><value><string>=</string></value></param>
<param><value><int>149</int></value></param>
</array></value></param>
</array></value></param>
</param>
</methodCall>"

but this call give me this error:

<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><string>warning -- AccessError
No value found for res.users('149',).company_id</string></value>
</member>
<member>
<name>faultString</name>
<value><string></string></value>
</member>
</struct></value>
</fault>
</methodResponse>
Avatar
Vazgeç

change the username or provide group access to the currently user used in xml rpc for authenticate.

Üretici

thanks for the reply , try this , but have the same error. I tried also specify the fields that I want you to give me but nothing ...

Related Posts Cevaplar Görünümler Aktivite
3
Mar 15
6103
1
Tem 17
5756
0
Mar 25
503
0
Oca 25
2708
1
Eki 24
1199