Expected, block end but found but blocking mapping start in unicode string in config- Frigate

My Frigate config . yml apparently has some error , however i have checked numerous time and unable to see the errors.

Container will not load correctly.

Log of the container.
Error parsing config: while parsing a block mapping

  in "<unicode string>", line 1, column 1:

    detectors :

    ^

expected <block end>, but found '<block mapping start>'

  in "<unicode string>", line 39, column 3:

      front_driveway:

 This is my config.yml `

detectors:
  cpu1:
    type: cpu
  cpu2:
    type: cpu

mqtt:
  host: 192.168.0.74
  user: mikey
  password: mqtt6283

cameras:
  # Reolink
  garage_driveway:
    ffmpeg:
      inputs:
        - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
        - roles:
            - detect
            - clips
    #  motion:
    #    mask:
    width: 640
    height: 480
    fps: 5
    objects:
      track:
        - person
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: true
      retain:
        default: 1
    clips:
      enabled:
        retain:
        default: 1
  front_driveway:
    ffmpeg:
      inputs:
        - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
        - roles:
            - detect
            - clips
    #  motion:
    #    mask:
    width: 640
    height: 480
    fps: 5
    objects:
    track:
      - person
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: true
      retain:
        default: 1
    clips:
      enabled: true
      retain:
        default: 1
  back_garden:
    ffmpeg:
      inputs:
        - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
          roles:
            - detect
            - clips
    width: 640
    height: 480
    fps: 5
    objects:
      track:
        - person
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: true
      retain:
        default: 1
    clips:
      enabled: true
      retain:
        default: 1
  koi_pond:
    ffmpeg:
      inputs:
        - path: rtsp://admin:[email protected]:554/h264Preview_01_sub
          roles:
            - detect
            - clips
    #  motion:
    #    mask:
    width: 640
    height: 480
    fps: 5
    objects:
      track:
        - person
    snapshots:
      enabled: true
      timestamp: false
      bounding_box: true
      retain:
        default: 1
    clips:
      enabled: true
      retain:
        default: 1

On your garage_driveway, the last “default” is wrongly indented.

   clips:
      enabled:
        retain:
        default: 1 #<- this one must be two space indented
  front_driveway:

:slight_smile:

Thanks for the reply , i have corrected these errors however i am still receive the same errors for line 1 detectors and line 39 front drive which i cannot see what i need to do so that the container will load.

do you have any idea how i can rectify this ?