Closed matthewelwell closed 5 months ago
I have created a config.json file using the defaults provided in the documentation (with the keys added as needed) and am getting the following error:
config.json
❯ docker compose up [+] Running 1/0 ✔ Container edge-proxy-test-edge_proxy-1 Created 0.0s Attaching to edge_proxy-1 edge_proxy-1 | Traceback (most recent call last): edge_proxy-1 | File "/opt/venv/bin/edge-proxy-serve", line 8, in <module> edge_proxy-1 | sys.exit(serve()) edge_proxy-1 | ^^^^^^^ edge_proxy-1 | File "/app/src/edge_proxy/main.py", line 7, in serve edge_proxy-1 | settings = get_settings() edge_proxy-1 | ^^^^^^^^^^^^^^ edge_proxy-1 | File "/app/src/edge_proxy/settings.py", line 129, in get_settings edge_proxy-1 | return AppConfig() edge_proxy-1 | ^^^^^^^^^^^ edge_proxy-1 | File "/opt/venv/lib/python3.12/site-packages/pydantic/env_settings.py", line 40, in __init__ edge_proxy-1 | super().__init__( edge_proxy-1 | File "/opt/venv/lib/python3.12/site-packages/pydantic/main.py", line 341, in __init__ edge_proxy-1 | raise validation_error edge_proxy-1 | pydantic.error_wrappers.ValidationError: 1 validation error for AppConfig edge_proxy-1 | api_poll_frequency edge_proxy-1 | extra fields not permitted (type=value_error.extra) edge_proxy-1 exited with code 1
It seems as though the changes made here are not backwards compatible.
I have created a
config.json
file using the defaults provided in the documentation (with the keys added as needed) and am getting the following error:It seems as though the changes made here are not backwards compatible.