Error 500 on a POST request from a static web app to a web service

LUPO DANIELE 1 Reputation point

Hi community,
I have a problem with a POST request sent to my Azure app service from a static web app. The front end is written in Vue.js, the back end in Python.
When I send this request, the response is an Internal Server Error(error 500). In the app log I can see there's a HttpRequestException.
Have you got any ideas on how to solve?
N.B. The app works well in local environment.

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,612 questions
{count} votes

1 answer

Sort by: Most helpful
  1. LUPO DANIELE 1 Reputation point

    I've tried to do what you suggest but still no results. In the portal the following is the only thing that appears

    EDIT: I solved the problem by customizing the startup commands of gunicorn. The app was not correctly binded