web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

ER trying to complete format and getting error message Value cannot be null. Parameter name: key

(1) ShareShare
ReportReport
Posted on by 84
I'm trying to complete an Electronic Reporting format that's tested and that can write out an XML-file without a problem in draft mode. I get no errors or warnings when running the validation. But when I try to complete the format, I get this error message:
"Value cannot be null. Parameter name: key"
 
I can't find any discussion on this particular error message. Only for when the parameter name is something different than key.
 
The changes I made recently were adding an XML-segment to the format and a string under it. I've cleared their formulas, doesn't matter, I set them to false, and whether they have formulas or not I can't complete the format and instead get the error message above.
The other change I made was changing the model that the format is based on. I've tried changing version and it doesn't seem to help.
 
When I run compare between the latest completed format and the draft version, the compare never seems to finish. So far I've given up after about 15 minutes. This last run has now been going for 30 minutes.
 
I tried Get this version from the last completed version and redid the changes to the draft version, but still it wouldn't solve the issue.
 
To sum it up: computer says no.
 
Does anyone have any insights on what this error message might refer to?
Categories:
I have the same question (0)
  • Suggested answer
    CA Neeraj Kumar Profile Picture
    139 on at
    ER trying to complete format and getting error message Value cannot be null. Parameter name: key
    Hi Dan, 
     
    To assist here, I will need more information like 
    1) any error you are getting while Validating the configuration or not? 
     
    2) what is the version number for current format, related model mapping and model. 
     
     
    Regards, 
    Neeraj

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 708 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 589 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 553

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans