Load error

Hallo sorry my english is not the best. I will upload my programm my ESP has the depault Programm and is in my WIFI. when i will uploud is come the same error agains. My code is:

esphome:
  name: cam1
    # friendly_name: Kamera1

esp32:
  board: esp32cam
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "key"

ota:
 password: "pass"

wifi:
  ssid: ssid
  password: pass

  # Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
  ssid: "etwascam"
  password: "pass"

captive_portal:

esp32_camera:
  external_clock:
    pin: GPIO0
    frequency: 20MHz
  i2c_pins:
    sda: GPIO26
    scl: GPIO27
  data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
  vsync_pin: GPIO25
  href_pin: GPIO23
  pixel_clock_pin: GPIO22
  power_down_pin: GPIO32
  horizontal_mirror: false
  vertical_flip: false
  name: gockelcam

output:
  - platform: gpio
    pin: GPIO4
    id: gpio_4
light:
  - platform: binary
    output: gpio_4
    name: gockelcam light

And my error:

Failed config

wifi: [source :22]
ssid: FRITZ!Box

Must be string, got <class ‘esphome.helpers.EInt’>. did you forget putting quotes around the value?.
password: 7538
ap: [source :27]

Component not found: ap.
ssid: etwascam
password: pass

Welcome.

Likely it’s as per the error message. You may need to put “quotes” around a value (possibly your password).

If that’s your password in the logs you may have accidentally exposed something to the internet and should edit it and change it ASAP.