// Id: #876920
using KA_scheduler.Services;
var jobService = Activate<JobService>();
await jobService.TriggerRequest(
null,
"Metal Price Aggregator NS",
"https://pvsxjttkjeyisupblaalkokk6q0ttnql.lambda-url.eu-north-1.on.aws/",
FromJson<HttpMethod>("{\"Method\":\"GET\"}"),
"",
"NS");
| CurrentCulture | |
| CurrentUICulture | |
| RecurringJobId | |
| Time | |
An exception occurred during performance of the job.
Something went wrong with getToken: Something went wrong with getToken: Unauthorized StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers: { Date: Sun, 06 Sep 2026 00:00:21 GMT Connection: keep-alive Apigw-Requestid: DP_5BgdWgi0EPcQ= Content-Type: text/plain; charset=utf-8 Content-Length: 14 } Unauthorized
System.Exception: Something went wrong with getToken: Something went wrong with getToken: Unauthorized StatusCode: 401, ReasonPhrase: 'Unauthorized', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{
Date: Sun, 06 Sep 2026 00:00:21 GMT
Connection: keep-alive
Apigw-Requestid: DP_5BgdWgi0EPcQ=
Content-Type: text/plain; charset=utf-8
Content-Length: 14
} Unauthorized
at KA_scheduler.Services.JobService.GetToken(PerformContext consoleContext, String storeCode) in /buddy/dotnet-scheduler/Services/JobService.cs:line 329
at KA_scheduler.Services.JobService.TriggerRequest(PerformContext consoleContext, String name, String url, HttpMethod method, String payload, String storeCode) in /buddy/dotnet-scheduler/Services/JobService.cs:line 135
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Triggered by recurring job scheduler