Add-FLCItem creates item but returns an error

Issue

When using the Add-FLCItem Cmdlet an item is created on F360M but the return value is the following:

format-default : The given key was not present in the dictionary.
   + CategoryInfo          : NotSpecified: (:) [format-default], KeyNotFoundException
    + FullyQualifiedErrorId : System.Collections.Generic.KeyNotFoundException,Microsoft.PowerShell.Commands.FormatDefaultCommand

The Show-Inspector Cmdlet shows that some properties contain "The given key was not present in the dictionary" as value.

Cause

This issue is caused by the F360M user having restricted access to a Section in the workspace. All Fields in that workspace will contain "The given key was not present in the dictionary" as value.

Solution

Remove the restriction for the problematic Group in your F360M Workspace manager:

  1. In F360M go to Administration, Workspace Manager
  2. On your Workspace go to the Item details tab
  3. Click edit on the problematic section
  4. Check the box "Show/Hide Advanced Permission Options"
  5. Remove the problematic Group from the restricted groups

See also

Add-FLCItem

Show-inspector