I create an app in App Platform with these sample apps:
PHP - Functions - hello world
PHP - Functions - Number Words.
Then I get a “Incomplete web action path. The path must contain /$namespace/$package/$action, $package can be ‘default’.” message in Live App URL. What should I do next? Thank you.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I just ran into this same problem and it turned out that I was passing one of the values in my JSON body without quotes around it. Insomnia is happy with this but from what I can see from some testing, if there are any problems with the payload or formatting of a request to a function endpoint this error gets thrown up.
Hope that helps.
Hi there,
Would you mind confirming how did you create the function and do you have a GitHub repo link that you could share so I could take a look at the structure?
Also, did you follow the
/$namespace/$package/$action
structure as described in the error message that you are getting?Best,
Bobby