Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
7060 Zobrazení

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
Zrušit

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

Autor

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 Odpovědi Zobrazení Aktivita
3
bře 15
6244
1
čvc 17
5871
0
bře 25
854
0
led 25
2980
1
říj 24
1570