All Release Notes

New error codes for operations on a Store

9 November 2020
Enhancement
Stores

Two error codes were added for operations on a Store. The ProjectNotConfiguredForLanguages error code is returned for the attempt to create a Store with languages that are not supported by the Store's project. The same error code is also returned if an attempt to add or set non-project languages on a Store is made. The MissingRoleOnChannel error code is returned for the attempt to create a Store with a supplyChannel or distributionChannel referencing a Channel that misses the respective ChannelRole. The same error code is also returned if the user attempts to add or set a supplyChannel or distributionChannel referencing a Channel without the required ChannelRole.

  • [API] Added the error code ProjectNotConfiguredForLanguages.
  • [API] Added the error code MissingRoleOnChannel.
Copyright © 2021 commercetools