Unable to Register the workflow anymore with the latest updated Prefect Server. Getting: requests.exceptions.HTTPError: 400 Client Error #3120
-
Hi, I need a help with workflow registration. I recently upgraded Prefect to mentioned at the bottom. (venv) ± python stream.py
Result check: OK
Traceback (most recent call last):
File "stream.py", line 101, in <module>
main()
File "stream.py", line 97, in main
workflow()
File "stream.py", line 91, in workflow
flow.register(project_name="Live")
File "/home/cp/Projects/prefect/venv/lib/python3.7/site-packages/prefect/core/flow.py", line 1542, in register
no_url=no_url,
File "/home/cp/Projects/prefect/venv/lib/python3.7/site-packages/prefect/client/client.py", line 696, in register
version_group_id=version_group_id,
File "/home/cp/Projects/prefect/venv/lib/python3.7/site-packages/prefect/client/client.py", line 218, in graphql
token=token,
File "/home/cp/Projects/prefect/venv/lib/python3.7/site-packages/prefect/client/client.py", line 178, in post
token=token,
File "/home/cp/Projects/prefect/venv/lib/python3.7/site-packages/prefect/client/client.py", line 329, in _request
session=session, method=method, url=url, params=params, headers=headers
File "/home/cp/Projects/prefect/venv/lib/python3.7/site-packages/prefect/client/client.py", line 265, in _send_request
response.raise_for_status()
File "/home/cp/Projects/prefect/venv/lib/python3.7/site-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:4200/graphql
(venv) (base) Has there been any breaking changes? I tutorials / documentation also seems to be unchanged in the website? Any leads on this will be highly appreciated. Thanks. Pip Modules Versions: prefect==0.12.3
...
adal==1.2.4
aiobotocore==1.0.7
aiohttp==3.6.2
aioitertools==0.7.0
airtable-python-wrapper==0.11.3.post1
altair==4.1.0
apipkg==1.5
appdirs==1.4.4
applicationinsights==0.11.9
appnope==0.1.0
asn1crypto==1.3.0
async-timeout==3.0.1
attrs==19.3.0
azure-common==1.1.25
azure-core==1.7.0
azure-cosmos==3.1.2
azure-graphrbac==0.61.1
azure-mgmt-authorization==0.60.0
azure-mgmt-containerregistry==2.8.0
azure-mgmt-keyvault==2.2.0
azure-mgmt-resource==8.0.1
azure-mgmt-storage==11.1.0
azure-storage-blob==12.3.2
azureml-automl-core==1.0.85.5
azureml-core==1.0.85.6
azureml-dataprep==1.1.38
azureml-dataprep-native==13.2.0
azureml-pipeline==1.0.85
azureml-pipeline-core==1.0.85.1
azureml-pipeline-steps==1.0.85
azureml-sdk==1.0.85
azureml-telemetry==1.0.85.2
azureml-train==1.0.85
azureml-train-automl-client==1.0.85.4
azureml-train-core==1.0.85
azureml-train-restclients-hyperdrive==1.0.85
backcall==0.2.0
backports.tempfile==1.0
backports.weakref==1.0.post1
beautifulsoup4==4.9.1
black==19.10b0
bleach==3.1.5
blis==0.4.1
boto3==1.14.20
botocore==1.17.20
cachetools==4.1.1
catalogue==1.0.0
certifi==2020.6.20
cffi==1.14.0
chardet==3.0.4
click==7.1.2
cloudpickle==1.5.0
contextlib2==0.6.0.post1
coverage==5.2
croniter==0.3.34
cryptography==2.9.2
cymem==2.0.3
dask==2.20.0
dask-cloudprovider==0.3.0
dask-kubernetes==0.10.1
decorator==4.4.2
defusedxml==0.6.0
Deprecated==1.2.10
distributed==2.20.0
distro==1.5.0
docker==4.2.2
docutils==0.15.2
dotnetcore2==2.1.14
dropbox==9.5.0
entrypoints==0.3
execnet==1.7.1
facebook-sdk==3.1.0
feedparser==5.2.1
flake8==3.7.9
fusepy==3.0.1
google-api-core==1.21.0
google-api-python-client==1.9.3
google-auth==1.18.0
google-auth-httplib2==0.0.4
google-auth-oauthlib==0.4.1
google-cloud-bigquery==1.25.0
google-cloud-core==1.3.0
google-cloud-storage==1.29.0
google-resumable-media==0.5.1
googleapis-common-protos==1.52.0
graphviz==0.14.1
great-expectations==0.11.7
gspread==3.6.0
HeapDict==1.0.1
httplib2==0.18.1
idna==2.10
importlib-metadata==1.7.0
ipykernel==5.3.2
ipython==7.16.1
ipython-genutils==0.2.0
ipywidgets==7.5.1
isodate==0.6.0
jedi==0.17.1
jeepney==0.4.3
Jinja2==2.11.2
jira==2.0.0
jmespath==0.10.0
jsonpickle==1.4.1
jsonschema==3.2.0
jupyter-client==6.1.5
jupyter-core==4.6.3
kafka-python==2.0.1
kubernetes==11.0.0b2
kubernetes-asyncio==11.3.0
MarkupSafe==1.1.1
marshmallow==3.6.1
marshmallow-oneofschema==2.0.1
mccabe==0.6.1
mistune==0.8.4
more-itertools==8.4.0
msgpack==1.0.0
msrest==0.6.17
msrestazure==0.6.4
multidict==4.7.6
murmurhash==1.0.2
mypy==0.782
mypy-extensions==0.4.3
natsort==7.0.1
nbconvert==5.6.1
nbformat==5.0.7
ndg-httpsclient==0.5.1
notebook==6.0.3
numpy==1.19.0
oauthlib==3.1.0
oscrypto==1.2.0
packaging==20.4
pandas==1.0.5
pandocfilters==1.4.2
parso==0.7.0
pathspec==0.8.0
pbr==5.4.5
pendulum==2.1.1
pexpect==4.8.0
pickleshare==0.7.5
plac==1.1.3
pluggy==0.13.1
prefect==0.12.3
preshed==3.0.2
prometheus-client==0.8.0
prompt-toolkit==3.0.5
protobuf==3.12.2
psutil==5.7.0
psycopg2-binary==2.8.5
ptyprocess==0.6.0
pushbullet.py==0.11.0
py==1.9.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
pycodestyle==2.5.0
pycparser==2.20
pycryptodomex==3.9.8
pyflakes==2.1.1
PyGithub==1.51
Pygments==2.6.1
PyJWT==1.7.1
PyMySQL==0.9.3
pyOpenSSL==19.1.0
pyparsing==2.4.7
pyperi==0.2.0
pyrsistent==0.16.0
pytest==5.4.3
pytest-cov==2.10.0
pytest-env==0.6.2
pytest-forked==1.2.0
pytest-xdist==1.31.0
python-box==4.2.3
python-dateutil==2.8.1
python-magic==0.4.18
python-slugify==4.0.1
python-twitch-client==0.6.0
pytz==2020.1
pytzdata==2020.1
PyYAML==5.3.1
pyzmq==19.0.1
redis==3.5.3
regex==2020.6.8
requests==2.24.0
requests-oauthlib==1.3.0
requests-toolbelt==0.9.1
rsa==4.6
ruamel.yaml==0.16.10
ruamel.yaml.clib==0.2.0
s3transfer==0.3.3
scipy==1.5.1
SecretStorage==3.1.2
Send2Trash==1.5.0
six==1.15.0
snowflake-connector-python==2.2.8
sortedcontainers==2.2.2
soupsieve==2.0.1
spacy==2.3.1
srsly==1.0.2
tabulate==0.8.7
tblib==1.6.0
termcolor==1.1.0
terminado==0.8.3
testfixtures==6.14.1
testpath==0.4.4
text-unidecode==1.3
thinc==7.4.1
toml==0.10.1
toolz==0.10.0
tornado==6.0.4
tqdm==4.47.0
traitlets==4.3.3
tweepy==3.9.0
typed-ast==1.4.1
typing-extensions==3.7.4.2
tzlocal==2.1
uritemplate==3.0.1
urllib3==1.25.9
wasabi==0.7.0
wcwidth==0.2.5
webencodings==0.5.1
websocket-client==0.57.0
widgetsnbextension==3.5.1
wrapt==1.12.1
yarl==1.4.2
zict==2.0.0
zipp==3.1.0 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@cprakashagr Yes there were breaking changes in the |
Beta Was this translation helpful? Give feedback.
@cprakashagr Yes there were breaking changes in the
0.13.0
(latest) release with regards to the open source server. There is some documentation on it here. You should update your local version of Prefect due to a big database schema change which now supports loads of new features.