Skip to main content
Solved

The given key was not present in the dictionary.

  • January 11, 2023
  • 7 replies
  • 1062 views

Michael Ndungi
Varsity I
Forum|alt.badge.img

 Hello everyone, Getting the error below when I press the button REMOVE HOLD.

What could be the issue?

All responses will be highly appreciated.

Best answer by Django

Do you have any customizations installed?  I’m assuming yes because you’ve posted in the Development community but you haven’t indicated if you’ve added any code customizations that might be causing this error.

View original
Did this topic help you find an answer to your question?

7 replies

Forum|alt.badge.img+6
  • Captain II
  • 580 replies
  • Answer
  • January 11, 2023

Do you have any customizations installed?  I’m assuming yes because you’ve posted in the Development community but you haven’t indicated if you’ve added any code customizations that might be causing this error.


Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3417 replies
  • January 11, 2023

Hi, @development93  This issue will cause due to some keys issue while you are updating the details.

As ddunn indicated, if you can share the customization code details, we can review and help you, if we found something related to this issue.


  • Freshman I
  • 3 replies
  • January 15, 2023

This should be pretty easy to locate if you look through the customization code for anywhere a dictionary is being accessed. That error occurs when you try to access a dictionary with a key that doesn’t exist. 

And if it is occurring during the Remove Hold action it is likely either in a customized action override, a customized event handler for the hold field, or in customized persisting logic for the graph.


  • Freshman I
  • 9 replies
  • April 29, 2023

Hello @development93, sorry, did you manage to solve the problem that you report? I have the same problem, I already reviewed the recommendations published here, but I did not detect the problem, thank you.


Michael Ndungi
Varsity I
Forum|alt.badge.img
jcesar wrote:

Hello @development93, sorry, did you manage to solve the problem that you report? I have the same problem, I already reviewed the recommendations published here, but I did not detect the problem, thank you.

Hi jcesar,

I had specified wrong abbreviations which are used in representing statuses in Acumatica i.e. as an example 
Open = β€˜N’


 


Forum|alt.badge.img
  • Acumatica Employee
  • 46 replies
  • September 27, 2023

Testing without customizations and Rebuild Full-Text Entity Index could help to overcome this error. 


Forum|alt.badge.img
  • Jr Varsity III
  • 46 replies
  • March 14, 2025

​@Naveen Boga 

​@SankaPeiris07 

I have run into the same issue.  The customization was installed about 4 weeks ago.  I tested it now I wanted to test it one more time before publishing it in production.  Now the error appears when I try to remove the PO On Hold.  The purpose is remove the Print Option when an order is On hold or Pending Approval.

See the attached.

Thank you.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings