You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
odoo 10 http post request error
File "/Users/erp/Project/odoo/odoo/http.py", line 642, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/Users/erp/Project/odoo/odoo/http.py", line 1471, in _dispatch_nodb
func, arguments = self.nodb_routing_map.bind_to_environ(request.httprequest.environ).match()
File "/Users/erp/Library/Python/2.7/lib/python/site-packages/werkzeug/routing.py", line 1563, in match
raise NotFound()
NotFound: 404: Not Found
", "exception_type": "internal_error", "message": "404: Not Found", "name": "werkzeug.exceptions.NotFound"}, "http_status": 404, "message": "404: Not Found"}
react-native 0.63 ios get data to post request eror
There is no problem with android
odoo 10 http post request error
File "/Users/erp/Project/odoo/odoo/http.py", line 642, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/Users/erp/Project/odoo/odoo/http.py", line 1471, in _dispatch_nodb
func, arguments = self.nodb_routing_map.bind_to_environ(request.httprequest.environ).match()
File "/Users/erp/Library/Python/2.7/lib/python/site-packages/werkzeug/routing.py", line 1563, in match
raise NotFound()
NotFound: 404: Not Found
", "exception_type": "internal_error", "message": "404: Not Found", "name": "werkzeug.exceptions.NotFound"}, "http_status": 404, "message": "404: Not Found"}
react-native 0.63 ios get data to post request eror
There is no problem with android
odoo print "====", request.httprequest.environ
{'wsgi.multiprocess': False, 'HTTP_COOKIE': 'session_id=0b67df413b32869307a7dcccfd092ecfcda7c0bc,s;', 'SERVER_SOFTWARE': 'Werkzeug/0.11.11', 'SCRIPT_NAME': '', 'REQUEST_METHOD': 'POST', 'PATH_INFO': '/web/dataset/call_kw', 'SERVER_PROTOCOL': 'HTTP/1.1', 'QUERY_STRING': '', 'werkzeug.server.shutdown': <function shutdown_server at 0x11ccfa588>, 'CONTENT_LENGTH': '140', 'HTTP_USER_AGENT': 'GatsuurtDispatch/1 CFNetwork/1331.0.7 Darwin/21.3.0', 'HTTP_CONNECTION': 'keep-alive', 'SERVER_NAME': '0.0.0.0', 'REMOTE_PORT': 54602, 'wsgi.url_scheme': 'http', 'SERVER_PORT': '8099', 'werkzeug.request': <Request 'http://192.168.0.110:8099/web/dataset/call_kw' [POST]>, 'wsgi.input': <socket._fileobject object at 0x11efb0c48>, 'HTTP_HOST': '192.168.0.110:8099', 'wsgi.multithread': True, 'HTTP_ACCEPT': 'application/json', 'wsgi.version': (1, 0), 'wsgi.run_once': False, 'wsgi.errors': <open file '', mode 'w' at 0x1009fc270>, 'REMOTE_ADDR': '192.168.0.110', 'HTTP_ACCEPT_LANGUAGE': 'mn,en-US;q=0.9,en;q=0.8', 'CONTENT_TYPE': 'application/json', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate'}
I saw that HTTP_USER_AGENT is different from other requests
MY REACT NATIVE PROJECT NAME IS GatsuurtDispatch
How to fix it
The text was updated successfully, but these errors were encountered: