Thanks for reply! Which language you are using? Static Web Apps' managed function apps don't support all languages or language versions that Azure Functions supports. For managed functions the Azure Functions app must either be in Node.js 12, .NET Core 3.1, .NET 6.0, or Python 3.8.
You may refer to this article and step-by-step guides to troubleshooting deployment and other issues for your static web app.
You may use Application Insights to find runtime error messages.
Refer to Monitoring Azure Static Web Apps. Application Insights logs the full error message and stack trace generated by each error.
Let us know.