@Vikram Dayananda Thanks for reaching out.
As per the error your function app was not able to authenticate the request sent to your logic app and therefore you are getting the Unauthorized error. It looks like the authentication may have changed at your function app for the HTTP trigger (function) that you are calling or have added the managed identity to your function app.
If it is authentication changed then the easiest way would be to delete and recreate the action as it would add the right authentication again in your logic app. If the managed identity changed then you need to provide the right permission to your logic app so it can access the function resource.
Reference: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-azure-functions?tabs=consumption