Nextdoor / ndscheduler

A flexible python library for building your own cron-like system, with REST APIs and a Web UI.
BSD 2-Clause "Simplified" License
1.08k stars 202 forks source link

Cannot run a job with the rest api #91

Closed alexvtilburg closed 3 years ago

alexvtilburg commented 3 years ago

Try to run a job with the rest api via Postman Screenshot_2 but get the following error message: Traceback (most recent call last): File "C:\python\python37-32\lib\site-packages\tornado\web.py", line 1401, in _stack_context_handle_exception raise_exc_info((type, value, traceback)) File "", line 3, in raise_exc_info File "C:\python\python37-32\lib\site-packages\tornado\stack_context.py", line 314, in wrapped ret = fn(*args, kwargs) File "C:\python\python37-32\lib\site-packages\tornado\gen.py", line 196, in final_callback if future.result() is not None: File "C:\python\python37-32\lib\site-packages\tornado\concurrent.py", line 232, in result raise_exc_info(self._exc_info) File "", line 3, in raise_exc_info File "C:\python\python37-32\lib\site-packages\tornado\gen.py", line 267, in wrapper result = func(*args, *kwargs) File "C:\python\python37-32\lib\types.py", line 277, in wrapped coro = func(args, kwargs) TypeError: post() missing 1 required positional argument: 'job_id'