[Python] How to detect which package or packages are making my function fail in the Portal

Discussão em 'Python' iniciado por Stack, Março 21, 2025.

  1. Stack

    Stack Membro Participativo

    I have a function that is working just fine locally, but once its deployed and running in azure it throws a 500 internal error code, with no error message just the error code. By commenting all the imports and just returning a simple response I can tell the function is running and most likely there is a problem with one of the packages. Is there a fairy easy way to determine which package or packages are creating the problem??

    Details: Environment : Ubuntu-latest Python: 3.9

    List of packages used: azure-common azure-core azure-functions azure-identity azure-keyvault-secrets certifi cffi charset-normalizer cryptography grpcio grpcio-tools idna isodate msal msal-extensions msrest oauthlib portalocker protobuf pycparser pyjwt python-dotenv pytz requests requests-oauthlib six urllib3 wheel

    Continue reading...

Compartilhe esta Página