Skip to Content
Menu
This question has been flagged
6151 Views

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
Discard

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

Author

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 Replies Views Activity
3
Mar 15
5605
1
Jul 17
5293
1
Oct 24
272
1
Apr 24
514
2
Mar 24
750