"appFunctions" prop is seems to be always needed when `hs project upload` exec
100handa opened this issue · 1 comments
100handa commented
Description and Context
Context
I was trying deploy project only sever-less functions, without CRM cards.
Description
hs project upload
failed without "appFunctions" prop. And no concrete error messages received.- Added empty appFunction prop
"appFunctions": {}
- Tried
hs project upload
again - Success
Steps to reproduce
Exec hs project upload
without "appFunctions" prop.
Expected behavior
Receive concrete error messages such as "appFunctions is required"
Screenshots
Who to Notify
m-roll commented
This is fixed now -- the server is validating against the uploaded JSON so now it should look something like
[ERROR] The post in account *** was bad. The JSON in the file '/app/app.functions/serverless.json' doesn't match the associated scheme. Correct and/or add values to all relevant fields and try again.
- $.endpoints: is missing but it is required
- $.appFunctions: is missing but it is required