Brennan Tolman
09/11/2023, 5:16 PMprefect deploy
using a prefect.yaml
file that has worked previously, but now for some reason I keep getting the following error:
Expecting value: line 1 column1 (char 0)
Marvin
09/11/2023, 5:16 PMprefect.yaml
file is empty or not properly formatted.
You might want to check the following:
1. The file is not empty.
2. The file is properly formatted as YAML.
3. The file is in the correct location and can be accessed by Prefect.
If you've checked all these and everything seems fine, you might want to try running your command with a different prefect.yaml
file to see if the problem is specific to this file.
If none of this helps, I can try to look up more information for you. Just let me know.Nate
09/11/2023, 5:17 PMBrennan Tolman
09/11/2023, 5:24 PMname: my-deployment
prefect-version: 2.11.0
build: null
push: null
pull:
- prefect.deployments.steps.git_clone:
repository: https:/my-repo.com/my-repo
branch: main
access_token: "{{ prefect.blocks.secret.access-token }}"
deployments:
- name: my-deployment
version: "0.0.0"
tags: []
description: null
schedule: {}
flow_name: null
entrypoint: src/driver.py:main
parameters: {}
work_pool:
name: standard
work_queue_name: default
job_variables: {}
prefect deployment build
command, and got this error json.decoder.JSONDecoderError: Expecting value: line 1 column 1 (char 0)
Nate
09/11/2023, 5:27 PMprefect deploy
?Brennan Tolman
09/11/2023, 5:29 PMExpecting value: line 1 column 1 (char 0)
Nate
09/11/2023, 5:29 PMBrennan Tolman
09/11/2023, 5:30 PM