Guilins
01/07/2025, 7:59 PMmap_deploy = map_test.to_deployment(name="map_test")
serve(map_deploy)
but whenever i execute my code i get this error:
prefect.exceptions.PrefectHTTPStatusError: Client error '422 Unprocessable Entity' for url '<http://localhost:4200/api/deployments/>'
Response: {'exception_message': 'Invalid request received.', 'exception_detail': [{'type': 'extra_forbidden', 'loc': ['body', 'infra_overrides'], 'msg': 'Extra inputs are not permitted', 'input': {}}, {'type': 'extra_forbidden', 'loc': ['body', 'manifest_path'], 'msg': 'Extra inputs are not permitted', 'input': None}, {'type': 'extra_forbidden', 'loc': ['body', 'schedule'], 'msg': 'Extra inputs are not permitted', 'input': None}], 'request_body': {'infra_overrides': {}, 'name': 'map_test', 'flow_id': '4148abfb-5ebd-40f6-8caf-43d2057362d4', 'paused': False, 'schedules': [], 'enforce_parameter_schema': False, 'parameter_openapi_schema': {'title': 'Parameters', 'type': 'object', 'properties': {}}, 'parameters': {}, 'tags': [], 'manifest_path': None, 'work_queue_name': None, 'storage_document_id': None, 'infrastructure_document_id': None, 'schedule': None, 'description': None, 'path': '.', 'version': '0d8321bdd6f142f31e54875d4be2089a', 'entrypoint': 'flows/examples/async_flow.py:map_test'}}
For more information check: <https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422>
This happened when i updated my project to version 3Nate
01/07/2025, 8:27 PMGuilins
01/07/2025, 8:56 PMNate
01/07/2025, 9:10 PMprefect config view --show-secrets
in the server container it should showGuilins
01/07/2025, 9:24 PM