Skip to main content

Why do I get a zip code error at Marketplace?

Are you trying to publish an advertisement with our Marktplaats WooCommerce plugin? If you have encountered an error stating that your zip code is too long, a simple formatting issue in your plugin configuration is the cause.

Written by Jessica Risch

Introduction

When trying to upload a listing, you might encounter the following error message: "zip code is too long and should not be longer than 6 characters." This error specifically refers to the zip code (postcode) configuration set within your plugin's settings. In this article, we explain exactly why this happens and how you can resolve it in just a few clicks.

Why this error occurs

In the Netherlands, standard zip codes consist of 4 digits and 2 letters (e.g., 1234AB), totaling exactly 6 characters.

If you type your zip code with a space in the middle (e.g., 1234 AB), the system registers the space as an additional character. This brings the count to 7 characters, which exceeds the strict 6-character limit allowed by the marketplace API.

How to fix the zip code error

You can easily resolve this error by removing the extra space from your settings:

  1. Log into your WordPress backend.

  2. Navigate to WooCommerce > Settings.

  3. Click on the Marktplaats tab.

  4. Locate the Zip code field.

  5. Remove the space between the numbers and the letters so they are combined into a single string (e.g., change 1234 AB to 1234AB).

  6. Click Save Changes.

Once updated, retry publishing your advertisement. The plugin will pass the correct 6-character format, and your ad will go live without any errors!

Did this answer your question?