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 :
Small and medium business | Business Central, N...
Answered

The Bin does not exist. Identification fields and values: Location Code='*****',Code=''

(8) ShareShare
ReportReport
Posted on by
 

Hello Community,

I am encountering the error: “The Bin does not exist. Identification fields and values: Location Code='*****', Code=''" while creating a warehouse pick for a production order.

I have reviewed all possible warehouse setup configurations, but nothing seems to resolve the issue.

Kindly suggest a solution.

Thanks in advance!


 
  • Suggested answer
    Ramesh Kumar Profile Picture
    on at
    The Bin does not exist. Identification fields and values: Location Code='*****',Code=''

    This error usually points to a missing or misconfigured Bin setup in the Location you’re working with. A few things to check:

    Check Default Bin Setup

    https://yzhums.com/33037/?utm

    https://community.dynamics.com/forums/thread/details/?threadid=8e3980c1-32ba-ee11-a569-00224827e5d4&utm

    • Go to Location Card for the location in question.
    • Ensure a Default Bin is defined for Production Output and To-Production.
    • If these aren’t set, the system won’t know where to pick from or post output.
    Verify Bin Contents
    • Open Bin Content for that Location and confirm that bins exist and are linked to the items you’re trying to pick.
    • If no Bin Code is assigned, BC will throw the error you’re seeing (notice in your message Code='').
    Check Location Setup
    • If the Location is Directed Put-away and Pick, make sure you’ve created the necessary bins (e.g., RECEIVE, SHIP, PROD).
    • If it’s not directed, you still need at least one valid Bin defined and assigned to the items.
  • Suggested answer
    Jeffrey Bulanadi Profile Picture
    on at
    The Bin does not exist. Identification fields and values: Location Code='*****',Code=''

    Hi RR,

    This error typically means that BC is expecting a Bin Code for the specified Location, but it’s receiving a blank value — either because the bin is missing, not set up correctly, or the system is enforcing bin usage where none is defined.

    Here’s a checklist to help you resolve it:

    Root Cause Analysis

    • Bin Mandatory
      • Check the Location Card for the Bin Mandatory setting. If enabled, every transaction for that location must specify a valid bin.
    • Directed Put-away and Pick
      • If this is enabled, BC expects bins to be fully defined and used in warehouse documents. Consider disabling it temporarily for testing.
    • Default Bin Setup
      • Ensure that the Item or Location has a default bin assigned, especially if you're using automatic creation of warehouse picks.
    • Blank Bin Code
      • If the bin code is blank in the warehouse pick or production order line, BC will throw this error. You may need to manually assign a bin or adjust the logic that populates it.

    Suggested Fixes

    • Go to Location Card → confirm if Bin Mandatory is enabled. If yes, make sure bins are defined and assigned.
    • Navigate to Bin Contents and verify that the bin exists for the item and location.
    • If using Warehouse Class Codes, ensure the bin matches the item’s class.
    • Try creating a dummy bin with a generic code (e.g., “DEFAULT”) and assign it as the default for the location or item.
    • If the error occurs during pick creation, check the Warehouse Pick Templates and Warehouse Setup for bin logic.


    Helpful References
    How to set up Bin Mandatory – Dynamics 365 Lab
    Community thread on similar error
    Bin Content validation tips – Dynamics NAV archive
    Classic Bin error debugging – mibuso forum


    If you find this
    helpful, feel free to mark this as the suggested or verified answer.

    Cheers
    Jeffrey

  • Suggested answer
    Sohail Ahmed Profile Picture
    on at
    The Bin does not exist. Identification fields and values: Location Code='*****',Code=''
    This error means Business Central is expecting a Bin Code, but it's missing or blank. Double-check your location setup—especially that a default bin is assigned or bin codes are properly defined for the location you're using. Also, ensure the item is set up with bin content for that location.
     
    ✅ Mark this answer as verified if it helps you.
     
     
  • Suggested answer
    Andrés Arias Profile Picture
    on at
    The Bin does not exist. Identification fields and values: Location Code='*****',Code=''
    Hello,
     
    The error could be for several reasons, I would recommend to check the following configuration:
     
    - Validate the Warehouse Configuration with the mandatory location.
    - Check the Warehouse and validate the location of the error.
    - Verify the location and bin code in the production order.
     
    I would also add to check the warehouse employee configuration.
     
    I hope I can help.
     
    Regards,
     
    Andres
  • Verified answer
    Mansi Soni Profile Picture
    on at
    The Bin does not exist. Identification fields and values: Location Code='*****',Code=''
    Hello,

    This occurs when the system tries to create a warehouse pick for a production order, but the Bin Code is missing or blank in the related setup or source lines (like components or locations). Even if warehouse setup appears correct, check that each component line on the production order has a valid Bin Code assigned, especially when the location requires bins. Also, ensure that the default bin is defined for the items at the location. If the Bin Code field is blank, the system cannot identify where to pick from, triggering the error.

    Hope this answer will help you!

    Regards,
    Mansi Soni
  • Gerardo Rentería García Profile Picture
    on at
    The Bin does not exist. Identification fields and values: Location Code='*****',Code=''
  • Suggested answer
    RockwithNav Profile Picture
    on at
    The Bin does not exist. Identification fields and values: Location Code='*****',Code=''
    Somewhere within your entire process, system is attempting to hit the bin which doesn't exist altogether. Did you try enabling debugger?
  • Suggested answer
    YUN ZHU Profile Picture
    on at
    The Bin does not exist. Identification fields and values: Location Code='*****',Code=''
    If you are unable to resolve the issue, I recommend that you ask a developer to debug it, as this may also be a data issue caused by customization.
     
    Hope this can give you some hint as well.
    Thanks.
    ZHU

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans