reapbenefit / frappe_solve_ninja

Other
0 stars 0 forks source link

Analyze User error logs of reset password #34

Open Ajitm01 opened 11 months ago

Ajitm01 commented 11 months ago

Error- "Did not return a 200..299 status code{\"exc_type\":\"ValidationError\",\"exception\":\"frappe.exceptions.ValidationError: Failed to get method for command reset_password with 'reset_password'\",\"exc\":\"[\\"Traceback (most recent call last):\\n File \\\\"apps/frappe/frappe/handler.py\\\\", line 74, in execute_cmd\\n method = get_attr(cmd)\\n File \\\\"apps/frappe/frappe/handler.py\\\\", line 262, in get_attr\\n method = globals()[cmd]\\nKeyError: 'reset_password'\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \\\\"apps/frappe/frappe/app.py\\\\", line 94, in application\\n response = frappe.api.handle()\\n File \\\\"apps/frappe/frappe/api.py\\\\", line 54, in handle\\n return frappe.handler.handle()\\n File \\\\"apps/frappe/frappe/handler.py\\\\", line 47, in handle\\n data = execute_cmd(cmd)\\n File \\\\"apps/frappe/frappe/handler.py\\\\", line 76, in executecmd\\n frappe.throw((\\\\"Failed to get method for command {0} with {1}\\\\").format(cmd, e))\\n File \\\\"apps/frappe/frappe/init.py\\\\", line 533, in throw\\n msgprint(\\n File \\\\"apps/frappe/frappe/init.py\\\\", line 501, in msgprint\\n _raise_exception()\\n File \\\\"apps/frappe/frappe/init.py\\\\", line 450, in _raise_exception\\n raise raise_exception(msg)\\nfrappe.exceptions.ValidationError: Failed to get method for command reset_password with 'reset_password'\\n\\"]\",\"_server_messages\":\"[\\"{\\\\"message\\\\": \\\\"Failed to get method for command reset_password with 'reset_password'\\\\", \\\\"title\\\\": \\\\"Message\\\\", \\\\"indicator\\\\": \\\\"red\\\\", \\\\"raise_exception\\\\": 1}\\"]\"}"

Request JSON - {"password":"Sehmbi@123","organization_id":136,"mobile":"917986156366"}

Request Header - {"Content-Type":"application/json","Authorization":"token 64fefe9d8256e1d:610bed9975ac8b5","Accept":"application/json"}