# AutoMapper error when trying to create Shipment

**URL:** <https://forum.litium.com/t/automapper-error-when-trying-to-create-shipment/3046>\
**Category:** Questions\
**Tags:** litium-8\
**Created:** [September 11, 2023, 3:49pm UTC](https://forum.litium.com/t/automapper-error-when-trying-to-create-shipment/3046 "2023-09-11T15:49:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![samuel](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/samuel/32/479_2.png) [@samuel](https://forum.litium.com/u/samuel)\
**Post date:** [September 13, 2023, 1:13pm UTC](https://forum.litium.com/t/automapper-error-when-trying-to-create-shipment/3046/3 "2023-09-13T13:13:41Z")

</div>

This works now.

I notice though that the Id of the created shipment is null. Can that cause problems? What would be the best practice way of giving a shipment an Id in that case?

---

_[View the full topic](https://forum.litium.com/t/automapper-error-when-trying-to-create-shipment/3046)._
