Andrew Richards
07/29/2022, 5:28 PMAccess to XMLHttpRequest at '<https://api.prefect.cloud/api/accounts/><MY ACCOUNT ID>/workspaces/<MY WORKSPACE ID>/block_documents/<MY BLOCK ID>' from origin '<https://app.prefect.cloud>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
It seems like CORS may be unhappy with the UI trying to do a cross-domain request from app.prefect.cloud to api.prefect.cloud?prefect deployment build -n test -t download_dataset -sb RemoteFileSystem/wasabi test-flow.py:download_job
I receive this error Client error '404 Not Found' for url '<https://api.prefect.cloud/api/accounts/><MY ACCOUNT ID>/workspaces/<MY WORKSPACE ID>/block_types/slug/RemoteFileSystem/block_documents/name/wasabi?include_secrets=true'
.
I'm able to interact with Prefect cloud from the CLI otherwise.Anna Geller
07/29/2022, 6:38 PMAndrew Richards
07/29/2022, 6:50 PMprefect deployment build
command cannot find the directory where my block storage is located when providing the -sb
argument. I'm certain I'm logged into the Prefect Cloud correctly because I'm able to list the resources I've created.RemoteFileSystem
may not be a valid block_type_slug
?Andreas Nigg
07/30/2022, 9:12 AMAndrew Richards
07/30/2022, 3:33 PM