OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
453 stars 185 forks source link

bug report: aadAppUpdate.HttpServerError #12374

Closed vikassonichya closed 2 weeks ago

vikassonichya commented 2 weeks ago

Getting below error while running the teams message extension app in local.

A http server error happened while performing the aadApp/update task. Please try again later. The error response is: {"error":{"code":"Service_InternalServerError","message":"Encountered an internal server error.","innerError":{"date":"2024-09-11T14:05:14","request-id":"17c6a49e-4676-48e0-bb8d-783f88ddc72b","client-request-id":"17c6a49e-4676-48e0-bb8d-783f88ddc72b"}}}

stack: HttpServerError: A http server error happened while performing the aadApp/update task. Please try again later. The error response is: {"error":{"code":"Service_InternalServerError","message":"Encountered an internal server error.","innerError":{"date":"2024-09-11T14:05:14","request-id":"17c6a49e-4676-48e0-bb8d-783f88ddc72b","client-request-id":"17c6a49e-4676-48e0-bb8d-783f88ddc72b"}}} at UpdateAadAppDriver.execute (/extension.js:2:320536) at processTicksAndRejections (node:internal/process/task_queues:95:5) at UpdateAadAppDriver. (/extension.js:2:492921) at Lifecycle.executeImpl (/extension.js:2:232111) at Lifecycle.execute (/extension.js:2:229268) at Coordinator.provision (/extension.js:2:272865) at Coordinator. (/extension.js:2:1045956) at FxCore.provisionResources (/extension.js:2:964918) at FxCore.exports.EnvWriterMW (/extension.js:2:871186) at FxCore.exports.ContextInjectorMW (/extension.js:2:1049708) at FxCore.exports.ConcurrentLockerMW (/extension.js:2:1048659) at envLoaderMWImpl (/extension.js:2:871066) at FxCore. (/extension.js:2:869964) at FxCore.exports.ProjectMigratorMWV3 (/extension.js:2:1080366) at FxCore.exports.ErrorHandlerMW (/extension.js:2:1050205) at FxCore. (/extension.js:2:1045956)

blackchoey commented 2 weeks ago

@vikassonichya can you try to provision again? Internal server error means something unexpected happens in the server side. It might be an intermittent issue. Retry could help in this case.

vikassonichya commented 2 weeks ago

retried, still facing same issue. [aadAppUpdate.HttpServerError]: A http server error happened while performing the aadApp/update task. Please try again later. The error response is: {"error":{"code":"Service_InternalServerError","message":"Encountered an internal server error.","innerError":{"date":"2024-09-12T09:19:09","request-id":"8286a406-c94d-4fc5-a355-8cc5445909cd","client-request-id":"8286a406-c94d-4fc5-a355-8cc5445909cd"}}}

blackchoey commented 2 weeks ago

Can you provide a sample Entra app manifest file for us to repro?

vikassonichya commented 2 weeks ago

Update! Today i tried again and it started working but don't know what was the reason, it was not working for two days.

Thank you.

blackchoey commented 2 weeks ago

Thank you for the update. It should be some issues in the server side. I'm going to close this issue. Feel free to open new issues if you meet other problems.