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
I had an issue where my unmanaged solution import failed with the very undescriptive message "Error: The given key was not present in the dictionary.".
After a lot of testing, I think I have isolated the error to be related to not having defined a deployment setting file, containing the required environment variable for my solution.
Here is my step-config; adding the last two lines resolved the error:
It took me some time to isolate the cause of this error, and I think it would be great to include a more descriptive error message.
The origin of the error message seems to be the target environment itself, so I guess an immediate fix would to be to add some client-side validations on the solution-import action, checking the contents environmentvariabledefinition.xml.
The text was updated successfully, but these errors were encountered:
henricson
changed the title
[solution-import] add concrete error message when an environment variable is missing
[solution-import] add more descriptive error message when an environment variable is missing
Oct 20, 2022
henricson
changed the title
[solution-import] add more descriptive error message when an environment variable is missing
[solution-import] add more descriptive error message when an solution environment variable is missing
Oct 20, 2022
henricson
changed the title
[solution-import] add more descriptive error message when an solution environment variable is missing
[solution-import] add more descriptive error message when a solution environment variable is missing
Oct 20, 2022
Some additional information: it seems that the issue only occurs when importing an unmanaged solution. In my latter steps, while doing an import of a managed version of this solution, I was able to import without providing environment variables. These were, as expected, requested in the web-ui on make.powerapps.com after the successful first import.
Hi,
I had an issue where my unmanaged solution import failed with the very undescriptive message "Error: The given key was not present in the dictionary.".
After a lot of testing, I think I have isolated the error to be related to not having defined a deployment setting file, containing the required environment variable for my solution.
Here is my step-config; adding the last two lines resolved the error:
It took me some time to isolate the cause of this error, and I think it would be great to include a more descriptive error message.
The origin of the error message seems to be the target environment itself, so I guess an immediate fix would to be to add some client-side validations on the solution-import action, checking the contents environmentvariabledefinition.xml.
The text was updated successfully, but these errors were encountered: