error run azure function

daniele conte 0 Reputation points
2025-03-12T14:03:54.2633333+00:00

I published an azure function from visual studio 2022 but trying to call the function I get error 404 page not found. From the resource group log I see the following error No route registered for '/api/functions/FGetPromocodeGt33In/config/appsettings/list?api-version=2022-03-01

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shireesha Eeraboina 3,435 Reputation points Microsoft External Staff Moderator
    2025-03-13T08:12:44.88+00:00

    Hi daniele conte,

    Thanks for reaching out.

    It looks like you're experiencing a 404 error when attempting to access your Azure Function. This could be caused by the function not being registered correctly or an incorrect URL. Please ensure that the function name in the URL matches the name of the deployed function. Also, verify that the function app is running and that you are using the correct API version.

    /api/functions/FGetPromocodeGt33In/config/appsettings/list?api-version=2022-03-01- Could you please update the version to 2024-04-01 and attempt to deploy it again.

    After these checks, if the issue persists, you might need to re-deploy or ensure that the function app settings are correctly configured in the Azure portal.

     

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.