AZURE Web App - ERR_ABORTED 500 Debugging

Job ID: 37730310

Budget: $30 – $250 AUD

I'm in urgent need of a developer who knows Azure Web App Service and can help us resolve a critical issue in our Node.js project hosted on Azure Web App.

Context:
When hosting the 'Visual.ts' and 'App.js' locally and fetching data from 'http://localhost:3000/submitComment,' I successfully tested the customized visual using the developer tool in the Power BI website. The data was successfully posted to the Azure SQL Server, demonstrating the functionality.

Problem Statement:
The issue raise when I hosted the 'Visual.ts' and 'App.js' on an Azure Web App and attempted to fetch data from 'https://star-writeback.azurewebsites.net/submitComment' while testing the customized visual using the developer tool in the Power BI website, I encountered an error message. Unfortunately, the interaction did not work as expected

(I have my code and detailed problem statement posted on the github)

Acceptance Criteria: To consider this issue resolved, the following acceptance criteria must be met:

The connection issue between the frontend and backend server should be identified and resolved.
Data entered through the frontend interface, developed with TypeScript, must be successfully transmitted to the backend server.
The backend server, defined in the server.js file, should accurately handle and post this data to the designated SQL server.
The solution must work seamlessly in the Azure Web App Service environment without any connection errors.


To get started, please share examples of your work with JavaScript, especially where you've addressed similar issues. I'm looking forward to getting this resolved quickly with your expertise!
Related categories: Azure Node.js Typescript Web API