Legacy Dev Forum Posts

 View Only

Sign Up

Getting an User-Unhandled exception

  • 1.  Getting an User-Unhandled exception

    Posted 06-05-2025 19:05

    Adrian_Looney | 2023-12-12 14:24:12 UTC | #1

    Hi. Bare with me as I'm a noob. I have an Azure function that includes a TimerTrigger. When I try to run it I get the following error at this line: var accessTokenInfo = Configuration.Default.ApiClient.PostToken("myID", "mySecret");

    Inner exception: FileNotFoundException: Could not load file or assembly 'System.Text.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=tokenishere'. The system cannot find the file specified.

    Console reading:

    For detailed output, run func with --verbose flag. [2023-12-12T14:09:58.841Z] Executing 'PullDataFromCompany' (Reason='Timer fired at 2023-12-12T14:09:58.7940567+00:00', Id=c774abd0-1626-488c-b33b-a642eb7489cb) [2023-12-12T14:09:58.844Z] Trigger Details: UnscheduledInvocationReason: IsPastDue, OriginalSchedule: 2023-12-12T12:00:00.0000000+00:00


    system | 2024-01-11 14:24:47 UTC | #2

    This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 23652