-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
XHRPOST
https://abc.in/api/method/writer.api.docs.create_document
[HTTP/1.1 417 EXPECTATION FAILED 333ms]
Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 121, in application
response = frappe.api.handle(request)
File "apps/frappe/frappe/api/__init__.py", line 63, in handle
data = endpoint(**arguments)
File "apps/frappe/frappe/api/v1.py", line 40, in handle_rpc_call
return frappe.handler.handle()
~~~~~~~~~~~~~~~~~~~~~^^
File "apps/frappe/frappe/handler.py", line 53, in handle
data = execute_cmd(cmd)
File "apps/frappe/frappe/handler.py", line 86, in execute_cmd
return frappe.call(method, **frappe.form_dict)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/__init__.py", line 1124, in call
return fn(*args, **newargs)
File "apps/frappe/frappe/utils/typing_validations.py", line 36, in wrapper
return func(*args, **kwargs)
File "apps/drive/drive/utils/__init__.py", line 375, in wrapper
return func(*args, **kwargs)
File "apps/writer/writer/api/docs.py", line 25, in create_document
home_directory = get_home_folder(team)
File "apps/drive/drive/utils/__init__.py", line 108, in get_home_folder
frappe.throw(error_msg, {"error": frappe.NotFound})
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/messages.py", line 148, in throw
msgprint(
~~~~~~~~^
msg,
^^^^
...<6 lines>...
primary_action=primary_action,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "apps/frappe/frappe/utils/messages.py", line 109, in msgprint
_raise_exception()
~~~~~~~~~~~~~~~~^^
File "apps/frappe/frappe/utils/messages.py", line 58, in _raise_exception
raise exc
frappe.exceptions.ValidationError: This team (None) doesn't exist - please create in Desk.<br /><br />Please <a class='text-black' href='/drive/setup'>setup</a> an account.
index-08f9c26a.js:71:2434
Error: /api/method/writer.api.docs.create_document ValidationError
transformResponse frappeRequest.js:81
U0 request.js:37
promise callback*U0 request.js:35
xB frappeRequest.js:5
i resources.js:99
2 Navbar.vue:48
iS runtime-dom.esm-bundler.js:759
Ma runtime-core.esm-bundler.js:199
Gn runtime-core.esm-bundler.js:206
Gn runtime-core.esm-bundler.js:217
n runtime-dom.esm-bundler.js:730
Kr runtime-dom.esm-bundler.js:681
eS runtime-dom.esm-bundler.js:699
aS runtime-dom.esm-bundler.js:776
k runtime-core.esm-bundler.js:4957
_ runtime-core.esm-bundler.js:4894
m runtime-core.esm-bundler.js:4760
N runtime-core.esm-bundler.js:5016
O runtime-core.esm-bundler.js:5196
m runtime-core.esm-bundler.js:4746
Y runtime-core.esm-bundler.js:5412
run reactivity.esm-bundler.js:237
R runtime-core.esm-bundler.js:5540
E runtime-core.esm-bundler.js:5314
B runtime-core.esm-bundler.js:5266
m runtime-core.esm-bundler.js:4772
Y runtime-core.esm-bundler.js:5412
run reactivity.esm-bundler.js:237
R runtime-core.esm-bundler.js:5540
E runtime-core.esm-bundler.js:5314
B runtime-core.esm-bundler.js:5266
m runtime-core.esm-bundler.js:4772
N runtime-core.esm-bundler.js:5016
k runtime-core.esm-bundler.js:4939
_ runtime-core.esm-bundler.js:4894
m runtime-core.esm-bundler.js:4760
N runtime-core.esm-bundler.js:5016
k runtime-core.esm-bundler.js:4939
_ runtime-core.esm-bundler.js:4894
m runtime-core.esm-bundler.js:4760
Y runtime-core.esm-bundler.js:5412
index-08f9c26a.js:13:2009
cE runtime-core.esm-bundler.js:275
vi runtime-core.esm-bundler.js:255
Gn runtime-core.esm-bundler.js:209
(Async: promise callback)
Gn runtime-core.esm-bundler.js:208
Gn runtime-core.esm-bundler.js:217
n runtime-dom.esm-bundler.js:730
(Async: EventListener.handleEvent)
Kr runtime-dom.esm-bundler.js:681
eS runtime-dom.esm-bundler.js:699
aS runtime-dom.esm-bundler.js:776
k runtime-core.esm-bundler.js:4957
_ runtime-core.esm-bundler.js:4894
m runtime-core.esm-bundler.js:4760
N runtime-core.esm-bundler.js:5016
O runtime-core.esm-bundler.js:5196
m runtime-core.esm-bundler.js:4746
Y runtime-core.esm-bundler.js:5412
run reactivity.esm-bundler.js:237
R runtime-core.esm-bundler.js:5540
E runtime-core.esm-bundler.js:5314
B runtime-core.esm-bundler.js:5266
m runtime-core.esm-bundler.js:4772
Y runtime-core.esm-bundler.js:5412
run reactivity.esm-bundler.js:237
R runtime-core.esm-bundler.js:5540
E runtime-core.esm-bundler.js:5314
B runtime-core.esm-bundler.js:5266
m runtime-core.esm-bundler.js:4772
N runtime-core.esm-bundler.js:5016
k runtime-core.esm-bundler.js:4939
_ runtime-core.esm-bundler.js:4894
m runtime-core.esm-bundler.js:4760
N runtime-core.esm-bundler.js:5016
k runtime-core.esm-bundler.js:4939
_ runtime-core.esm-bundler.js:4894
m runtime-core.esm-bundler.js:4760
Y runtime-core.esm-bundler.js:5412
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels