Getting an User-Unhandled exception

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

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