Skip to Content
Menu
This question has been flagged
2 Replies
2185 Views

Hello!


I followed this tutorial:

https://www.odoo.com/documentation/14.0/webservices/odoo.html


I wanted to test it with a runbot instance - here are my settings:


$url = 'https://5045307-14-0.runbot35.odoo.com';
$db = '5045307-14-0-all';
$username = "admin";
$password = 'admin';


But i still fails, can somebody help me?


array:2 [
  "faultCode" => 1
  "faultString" => """
    Traceback (most recent call last):\n
      File "/data/build/odoo/odoo/addons/base/controllers/rpc.py", line 69, in xmlrpc_2\n
        response = self._xmlrpc(service)\n
      File "/data/build/odoo/odoo/addons/base/controllers/rpc.py", line 49, in _xmlrpc\n
        result = dispatch_rpc(service, method, params)\n
      File "/data/build/odoo/odoo/http.py", line 140, in dispatch_rpc\n
        result = dispatch(method, params)\n
      File "/data/build/odoo/odoo/service/common.py", line 56, in dispatch\n
        return g[exp_method_name](*params)\n
      File "/data/build/odoo/odoo/service/common.py", line 27, in exp_authenticate\n
        return res_users.authenticate(db, login, password, {**user_agent_env, 'interactive': False})\n
    TypeError: 'list' object is not a mapping\n
    """
]
Avatar
Discard
Best Answer

These tools seem to be working actually. Thanks Kjeld! I'll be looking into them in more detail in the next few days/weeks.

Thanks!

Avatar
Discard
Best Answer

I have created a set of tools to search, read and write via PHP. I hope you find them useful. You can find the source code here github.com/Gitdyr/odoo-php-tools .

I set username/password to demo/demo.


Avatar
Discard