Skip to main content
Question

Value cannot be null. Parameter name: key how do I resolve this?

  • 24 June 2024
  • 7 replies
  • 197 views

Attempting to import item classes and I am getting a “Value cannot be null. Parameter name: Key” error. Any idea what may be causing this error?

7 replies

Userlevel 7
Badge +12

Hi @SBaldwin 

Could you please share the Import scenario?

Userlevel 2
Badge

@Manikanta Dhulipudi very new to import scenarios so this was my best first attempt at this particular one. The last two lines of the first image and the first two lines of the second image are the same lines.

 

Userlevel 7
Badge +12

Hi @SBaldwin 

Can you share the xml file ?

 

Attached ref file for your reference

Badge +18

Hello,

It looks like the Source Fields are missing. Have you connected your Data Provider (Top of screen is hidden)?

The Data provider contains the values that you need to select in the Source/Value column.

Laura

Userlevel 2
Badge

@Laura02 Yes! I did end up fixing that issue and I am still getting the same error.

@Manikanta Dhulipudi i’m not sure how to give you that information and when I open your file I’m not sure what I’m supposed to be taking away from it :)

Userlevel 2
Badge

So I got it to work! But noticed that I’m not sure how my item class field needs to be formatted in my excel sheet.

In my excel sheet I had the item class formatted

OGS-AMENDME-BIOCHAR

Acumatica imported it as

OGS-AME-NDME-BI-OCHAR__-

So do I need to make sure anything not 7 characters has enough spaces to make it 7?

Class:  OGS

SubClass1: AMENDME

SubClass2: BIOCHAR

Userlevel 7
Badge

Hi @SBaldwin were you able to find a solution? Thank you!

Reply