You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Response:
{
code: 1013,
description: "There was an error during an attempt to access a upstream source. The remote server might be down or overloaded",
innerExceptionMessage: "System.Net.Http.HttpRequestException: Server returned error status code: 400, ",
innerExceptionStackTrace: " at Nadobe.Core.Helpers.DelegatingHandlers.ExceptionDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in D:\a\1\s\Core\Helpers\DelegatingHandlers\ExceptionDelegatingHandler.cs:line 39 at Polly.CircuitBreaker.AsyncCircuitBreakerEngine.ImplementationAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates1 shouldHandleResultPredicates, ICircuitController1 breakerController) at Polly.AsyncPolicy1.ExecuteAsync(Func3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext) at Microsoft.Extensions.Http.PolicyHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at Nadobe.Core.Services.ConsentService.CreateConsentRequest(Accreditation accreditation, List1 evidenceCodesRequiringConsent) in D:\a\1\s\Core\Services\ConsentService.cs:line 324 at Nadobe.Core.Services.ConsentService.Initiate(Accreditation accreditation) in D:\a\1\s\Core\Services\ConsentService.cs:line 92 at Nadobe.Core.FuncAuthorization.<>c__DisplayClass8_0.<<Run>b__0>d.MoveNext() in D:\a\1\s\Core\FuncAuthorization.cs:line 128 --- End of stack trace from previous location where exception was thrown --- at Nadobe.Core.Filters.AzureFilterHelper.Handle(List1 attributes, ExecutionContext context, ILogger logger, HttpRequestMessage request, Func`1 action) in D:\a\1\s\Core\Filters\AzureFilterHelper.cs:line 98",
}
The text was updated successfully, but these errors were encountered:
Description
When requesting consent the person/organisation must exist in Altinns databases. When they don't it just fails with a generic error.
"person/org xxxx cannot receive consent requests in Altinn" or something along those lines. Filter if ssn.
Steps To Reproduce
Request:
{"requestor":"980178986","subject":"998997801","evidenceRequests":[{"evidenceCodeName":"RestanserV2","requestConsent":true},{"evidenceCodeName":"MvaMeldingsOpplysning","requestConsent":true},{"evidenceCodeName":"Arbeidsgiveravgift","requestConsent":true},{"evidenceCodeName":"OppdragUtenlandskeVirksomheter","requestConsent":true},{"evidenceCodeName":"Firmaattest"},{"evidenceCodeName":"Enhetsregisterdata"},{"evidenceCodeName":"Aarsregnskap","parameters":[{"evidenceParamName":"NumberOfYears","value":1}]}],"consentReference":"schibsted-smb","externalReference":"Demo","languageCode":"no-nb"}
Response:
{
code: 1013,
description: "There was an error during an attempt to access a upstream source. The remote server might be down or overloaded",
innerExceptionMessage: "System.Net.Http.HttpRequestException: Server returned error status code: 400, ",
innerExceptionStackTrace: " at Nadobe.Core.Helpers.DelegatingHandlers.ExceptionDelegatingHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in D:\a\1\s\Core\Helpers\DelegatingHandlers\ExceptionDelegatingHandler.cs:line 39 at Polly.CircuitBreaker.AsyncCircuitBreakerEngine.ImplementationAsync[TResult](Func
3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext, ExceptionPredicates shouldHandleExceptionPredicates, ResultPredicates
1 shouldHandleResultPredicates, ICircuitController1 breakerController) at Polly.AsyncPolicy
1.ExecuteAsync(Func3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext) at Microsoft.Extensions.Http.PolicyHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task
1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at Nadobe.Core.Services.ConsentService.CreateConsentRequest(Accreditation accreditation, List1 evidenceCodesRequiringConsent) in D:\a\1\s\Core\Services\ConsentService.cs:line 324 at Nadobe.Core.Services.ConsentService.Initiate(Accreditation accreditation) in D:\a\1\s\Core\Services\ConsentService.cs:line 92 at Nadobe.Core.FuncAuthorization.<>c__DisplayClass8_0.<<Run>b__0>d.MoveNext() in D:\a\1\s\Core\FuncAuthorization.cs:line 128 --- End of stack trace from previous location where exception was thrown --- at Nadobe.Core.Filters.AzureFilterHelper.Handle(List
1 attributes, ExecutionContext context, ILogger logger, HttpRequestMessage request, Func`1 action) in D:\a\1\s\Core\Filters\AzureFilterHelper.cs:line 98",}
The text was updated successfully, but these errors were encountered: