-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odoo server error #50
Comments
It looks like you are not passing |
Your request body should look like {
"params": {
"login": "[email protected]",
"password": "yor_password",
"db": "your_db_name"
}
} |
I am getting this issue. Please help me. I using odoo 14 |
I had the same problem but I realized that I had inserted an / more ... so check the URI |
I am getting this issue
{
"jsonrpc": "2.0",
"id": null,
"error": {
"code": 200,
"message": "Odoo Server Error",
"data": {
"name": "odoo.exceptions.AccessDenied",
"debug": "Traceback (most recent call last):\n File "/home/om/odoo-dev/odoo-12/odoo/odoo/http.py", line 656, in _handle_exception\n return super(JsonRequest, self)._handle_exception(exception)\n File "/home/om/odoo-dev/odoo-12/odoo/odoo/http.py", line 314, in _handle_exception\n raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])\n File "/home/om/odoo-dev/odoo-12/odoo/odoo/tools/pycompat.py", line 87, in reraise\n raise value\n File "/home/om/odoo-dev/odoo-12/odoo/odoo/http.py", line 698, in dispatch\n result = self._call_function(**self.params)\n File "/home/om/odoo-dev/odoo-12/odoo/odoo/http.py", line 346, in _call_function\n return checked_call(self.db, *args, **kwargs)\n File "/home/om/odoo-dev/odoo-12/odoo/odoo/service/model.py", line 97, in wrapper\n return f(dbname, *args, **kwargs)\n File "/home/om/odoo-dev/odoo-12/odoo/odoo/http.py", line 339, in checked_call\n result = self.endpoint(*a, **kw)\n File "/home/om/odoo-dev/odoo-12/odoo/odoo/http.py", line 941, in call\n return self.method(*args, **kw)\n File "/home/om/odoo-dev/odoo-12/odoo/odoo/http.py", line 519, in response_wrap\n response = f(*args, **kw)\n File "/home/om/odoo-dev/odoo-12/community/odoo-rest-api-master/controllers/controllers.py", line 44, in authenticate\n try:\nodoo.exceptions.AccessDenied:
login
is required.\n","message": "
login
is required.","arguments": [
"
login
is required."],
"exception_type": "access_denied"
}
}
}
The text was updated successfully, but these errors were encountered: