Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instansiering med nivå-0 bruker feiler pga. manglende partyId #652

Open
RonnyB71 opened this issue May 16, 2024 · 2 comments
Open

Instansiering med nivå-0 bruker feiler pga. manglende partyId #652

RonnyB71 opened this issue May 16, 2024 · 2 comments
Assignees
Labels
kind/bug Something isn't working org/krt Issues relevant for Finanstilsynet

Comments

@RonnyB71
Copy link
Member

Description of the bug

Tjenesteeier (Finanstilsynet) forsøker å instansiere ett skjema på vegne av nivå-0 brukere (utenlandske rapportører), men får feil:

Error: instanceOwnerPartyId query parameter is empty and InstanceOwner is missing from instance template. You must populate instanceOwnerPartyId or InstanceOwner"

Steps To Reproduce

  1. Gjør en multipart/form POST request mot {org}/{appname}/instances med
{
   "appId" : "krt/krt-1003a-1",
   "instanceOwner": {
       "username": "[email protected]"
   },
   "dueBefore": "2019-06-01T12:00:00Z",
   "visibleAfter": "2019-05-20T00:00:00Z"
}
  1. Observer nevnte feil

Additional Information

Slack discussion: https://altinn.slack.com/archives/C02EVE480G2/p1709732222875709

@RonnyB71 RonnyB71 added kind/bug Something isn't working org/krt Issues relevant for Finanstilsynet status/triage labels May 16, 2024
@RonnyB71 RonnyB71 moved this to 📈 Todo in Team Apps Dec 2, 2024
@martinothamar martinothamar self-assigned this Dec 2, 2024
@martinothamar martinothamar moved this from 📈 Todo to 👷 In Progress in Team Apps Dec 2, 2024
@martinothamar
Copy link
Contributor

martinothamar commented Dec 13, 2024

  • We will add lookup capability to Register API for username -> Party ID, but this will take some time
  • In the meantime, do they have the party ID? If so they can use the party ID directly

@martinothamar
Copy link
Contributor

We agreed that we will find a manual workaround until register API is ready. There were not a lot of parties so we will do the mapping offline

@martinothamar martinothamar moved this from 👷 In Progress to ⚠️ Blocked in Team Apps Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working org/krt Issues relevant for Finanstilsynet
Projects
Status: ⚠️ Blocked
Development

No branches or pull requests

2 participants