# "an internal error has occured" - bad argument

**URL:** <https://forums.negativelabpro.com/t/an-internal-error-has-occured-bad-argument/7372>\
**Category:** Troubleshooting and Bugs\
**Created:** [January 25, 2024, 2:48pm UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occured-bad-argument/7372 "2024-01-25T14:48:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![elpez7](https://avatars.discourse-cdn.com/v4/letter/e/bcef8e/32.png) [@elpez7](https://forums.negativelabpro.com/u/elpez7)\
**Post date:** [January 25, 2024, 2:48pm UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occured-bad-argument/7372/1 "2024-01-25T14:48:48Z")

</div>

![IMG_0884](https://canada1.discourse-cdn.com/flex029/uploads/negativelabpro/original/2X/e/e54c4825884051fe257ccf06876740d0b95b9e33.jpeg)

Hello,

After importing the scans into light room and click on convert scans I get this error. “An internal error has occured - bad argument #1 to ‘pairs’ (table expected, got nil)”. The only thing that I can think of that started this error is when I started adding “film type” and “film format” in the metedata field on import(which I believe where added with negative lab pro). That the only change I have noticed that has been contributed to this error. After the initial pop up with failure message I can just launch negative lab pro again and it starts where it left off.

Thank you for looking into this.

---

<div class="post-metadata">

**Author:** ![Fotomonkey](https://avatars.discourse-cdn.com/v4/letter/f/bc8723/32.png) [@Fotomonkey](https://forums.negativelabpro.com/u/Fotomonkey)\
**Post date:** [March 22, 2025, 3:27am UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occured-bad-argument/7372/2 "2025-03-22T03:27:15Z")

</div>

I’ve been seeing this error periodically myself. Kind of disappointing to see no feedback in a year.

---

<div class="post-metadata">

**Author:** ![nate](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.negativelabpro.com/nate/32/4_2.png) [@nate](https://forums.negativelabpro.com/u/nate)\
**Post date:** [March 24, 2025, 6:28pm UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occured-bad-argument/7372/3 "2025-03-24T18:28:33Z")

</div>

Can you see if the v3.1 beta fixes this?

> [@Negative Lab Pro v3.1 - New Color Processing, Support for Slide Film, Improved Batch Editing, and More](https://forums.negativelabpro.com/t/negative-lab-pro-v3-1-new-color-processing-support-for-slide-film-improved-batch-editing-and-more/8492/45):
>
> Sorry guys, a couple of things holding up the full launch… But if you want to try the v3.1 beta you can use these links: [Download v3.1 b7 for Mac](https://www.dropbox.com/scl/fi/i9wcg5xt3jqhz227ue7dd/MAC-NEGATIVE-LAB-v3.1b7.zip?rlkey=xutjpvon9e95ngoxik726sb30&dl=0) Just run the installer and you should be good to go. For Windows… On Windows, [download the plugin file from here](https://www.dropbox.com/scl/fi/8eudo1d99cw0enf8fmeim/NegativeLabPro3-1-b4.lrplugin.zip?rlkey=93ef9he8z96y8pnnr6pl8n717&dl=0): Then to update on to beta on Windows Close Lightroom (important) Unzip the download Delete (or rename and move) the existing NegativeLabPro3.lrplugin file from its location C: \ Users \ [username] \ AppData \ Roaming \ Adobe \ Li…

---

<div class="post-metadata">

**Author:** ![HHKK](https://avatars.discourse-cdn.com/v4/letter/h/977dab/32.png) [@HHKK](https://forums.negativelabpro.com/u/HHKK)\
**Post date:** [March 30, 2025, 6:39pm UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occured-bad-argument/7372/4 "2025-03-30T18:39:05Z")

</div>

I just installed v3.1 beta and have this error coming up with every batch conversion I make. Single negatives still work.

MacBook Pro Intel Chip  
MacOS Sequoia 15.3.2  
Lightroom Classic 14.2  
VueScan 9.8.45

---

<div class="post-metadata">

**Author:** ![cs91387](https://avatars.discourse-cdn.com/v4/letter/c/ac91a4/32.png) [@cs91387](https://forums.negativelabpro.com/u/cs91387)\
**Post date:** [February 24, 2026, 2:36am UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occured-bad-argument/7372/6 "2026-02-24T02:36:08Z")

</div>

I’m getting it too on occasion. running NLP 3.1.1 in LRC 15.2. MacBook Pro OS 26.3

---

<div class="post-metadata">

**Author:** ![Storeman](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Storeman](https://forums.negativelabpro.com/u/Storeman)\
**Post date:** [March 27, 2026, 6:53pm UTC](https://forums.negativelabpro.com/t/an-internal-error-has-occured-bad-argument/7372/7 "2026-03-27T18:53:16Z")

</div>

New to NLP as of today and I was getting this error with monochrome scans from Silverfast SE Plus 9. The were scanned as bwHRD but not 48bit RGB. I then tried scanning with vuescan set exactly the same as colour settings minus the IR scan. These opened fine as a batch of 6 files.

Maybe the others seeing this error message aren’t ensuring the files are saved as 48 bit RGB DNG’s.

I was originally replying for the same reason then remembered I read in the guide for setting up vuescan you commented that B&W should also be set as 48bit RGB .  
Setting this (and turning off IR scanning for B&W) worked fine for me.

Hope this helps others to sort out this issue.

Edits to correct typo’s
