Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
6700 Visualizzazioni

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
Abbandona

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

Autore

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

Post correlati Risposte Visualizzazioni Attività
3
mar 15
6099
1
lug 17
5746
0
mar 25
494
0
gen 25
2690
1
ott 24
1187