# Url import exception, value is not unique

**URL:** <https://forum.litium.com/t/url-import-exception-value-is-not-unique/943>\
**Category:** Questions\
**Tags:** litium-6\
**Created:** [June 26, 2019, 8:37am UTC](https://forum.litium.com/t/url-import-exception-value-is-not-unique/943 "2019-06-26T08:37:14Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![marten](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/marten/32/11_2.png) [@marten](https://forum.litium.com/u/marten)\
**Post date:** [June 26, 2019, 9:05am UTC](https://forum.litium.com/t/url-import-exception-value-is-not-unique/943/2 "2019-06-26T09:05:54Z")

</div>

Suggest does check if the url is already taken, it only formats the provided string to a valid url.

An easy solution is to catch the specific error and keep trying to save with a suffix on the url (“url\_1”, “url\_2”).

Also check: [How to check for URL conflicts without creating a entity?](https://forum.litium.com/t/how-to-check-for-url-conflicts-without-creating-a-entity/383)

---

_[View the full topic](https://forum.litium.com/t/url-import-exception-value-is-not-unique/943)._
