GuidesChangelog
HomeLog In
Guides
These docs are for v2023.2. Click to read the latest docs for v2024.2.

Error codes

This section provides additional information on Error codes, what caused them and how to solve them

Error codes are shown in the following format:

Below is a list of error codes you may encounter when using the Floriday API.


Proxy error codes


validation-error

A Validation error with a 400 status code indicates the server couldn't process the request due to a client error. For instance, a mandatory field was given an incorrect value type or wasn't given a value at all. Please check if the value was entered (correctly).


internal-server-error

An Internal server error with a 500 status code indicates that an error has occurred in one of our services. Please contact the appropriate channels to notify us of this error.


gateway-time-out

A Gateway time out error with a 504 status code indicates that the action has taken too long to complete. The default time out limit is 30 seconds.


not-implemented

A Not implemented error with a 501 status code indicates that the server does not (yet) support the functionality required to fulfill the request. Please contact us when you receive this error code. We aim to add all the required functionalities as soon as possible.


unknown-error

An Unknown error with a 500 status code indicates that an exception message for this error has not been defined yet.


invalid-enum-value

An Invalid enum value with a 400 status code indicates that an enum value was used incorrectly. See the exception message for more information.



Domain error codes


already-exists

The id used when creating a new entity has already been used. Please generate a different unique identifier.


does-not-exist

The referenced entity does not exist. Validate if the id that was used is correct. It is possible that the entity has been deleted and is not available within the chosen endpoint.


deleted

You are trying to use, edit or delete an entity that has already been deleted.


immutable

The entity is in a status that can no longer be modified. See the exception message for more information.


invalid-price

The price you entered is invalid. Please choose a different value.


invalid-location

The location cannot be used within this specific message. It may be possible that the location has expired. See the exception message for more information.


invalid-package

The package code you entered could not be found. Please enter a valid package code.


invalid-correction

The requested correction or cancellation is invalid. See the exception message for more information.


invalid-organization

The organization cannot be used within this specific message. It may be possible that the organization either does not exist, is invalid, has no RFH number, has the wrong organization type and/or has expired. See the exception message for more information.


invalid-additional-service

The additional service you entered is invalid. Please enter a correct value.


invalid-owner

You are trying to complete an action for an entity with an incorrect owner. Please use the correct owner.


invalid-status

The action could not be completed because of the current status of the entity. See the exception message for more information.


invalid-deadline

The deadline you entered is not valid. See the exception message for more information.


expired-deadline

The action could not be completed because the deadline of the action has expired. See the exception message for more information.


invalid-currency

The currency you entered is not equal to the currency of the entity. Please enter the correct currency.


invalid-email-address

The email address you entered is invalid. Please enter a valid email address.


invalid-number-of-pieces

The number of pieces you entered is invalid. See the exception message for more information.


invalid-trade-instrument

The trade instrument you entered is incorrect. Please use a valid trade instrument.


invalid-payment-provider

The payment provider you entered does not match with organizations, or the currency is invalid. See the exception message for more information.


retry-delay

You have attempted this action too many times in the given period. See the exception for when you can attempt the action again.


trade-setting

The action cannot be completed due to a trade setting of the other party. Please contact the other organization for more information.


invalid-incoterm

The Incoterm you entered is invalid. Please use a valid Incoterm that corresponds with the delivery location.


duplicate-lines

The request contains a list with duplicate values or id's.


invalid-warehouse

The request contains a warehouse reference that does not exist or is either deleted or owned by a different organization.


invalid-image-url

The request contains an invalid image url.

The image must be uploaded to Floriday and the url must be in the following format: image.floriday.io/images/{id}.jpg


invalid-period

The request contains a time period with an expired date or a start date after the end date.


invalid-customer-specific-modification

The request attempts to modify the customer-specific data, which is not allowed.


invalid-trade-item

The request contains a trade-item reference that is either deleted, owned by a different organization, contains invalid data or does not exist.


invalid-vbn-product

The request contains a VBN product code reference that does not exist or is expired.


invalid-vbn-package

The request contains a VBN package code reference that does not exist or is expired.


invalid-custom-package

The request contains a custom package reference that is either deleted, owned by a different organization, contains invalid data or does not exist.


sold-out

The order was placed on supply which has already been sold out.


insufficient-number-of-pieces

The number of pieces you entered is insufficient. See the exception message for more information.


trade-period-not-started

The order was placed on supply of which the trade period hasn't started yet. Please try again once the trade period has started.


trade-period-expired

The order was placed on supply where the trade period has already expired.


delivery-period-not-started

The order was placed with a date and time before the delivery period has started. Please use a correct date and time within the delivery period.


delivery-period-expired

The order was placed with a date and time after the delivery period has ended. Please use a correct date and time within the delivery period.


invalid-delivery-date-time

The selected delivery date time is no longer possible. See the exception for more information.


invalid-sales-unit

The number of pieces is not divisible by the amount of pieces in the sales unit.


invalid-delivery-location-gln

The selected delivery location GLN either does not exist or has expired. Please use a valid delivery location GLN.


invalid-packing-configuration

The request contains a packing configuration reference that does not match the referenced object.


invalid-load-carrier-code

The entered load carrier code is either not known at Floricode or is not numeric.


file-not-found

There is no file linked to this object.


invalid-pdf

PDF is not in a valid format.


invalid-threshold

It is not allowed to have a threshold on both price and minimal number of load carriers.


unable-to-copy-supply-request

You either tried to copy a FloraXchange supply request with more than one supplier or copy a supply request while an associated trade item request has the status Pending or Rejected.

invalid-parameters

One or more of the specified parameters are incorrect. See the exception message for more information.


route-not-found

The URL you entered is invalid, please consult the Swagger for the correct URL.