# Crud error

**URL:** <https://community.shotgridsoftware.com/t/crud-error/14067>\
**Category:** Pipeline Integrations\
**Created:** [November 23, 2021, 9:37pm UTC](https://community.shotgridsoftware.com/t/crud-error/14067 "2021-11-23T21:37:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dfulton1](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@Dfulton1](https://community.shotgridsoftware.com/u/Dfulton1)\
**Post date:** [November 23, 2021, 9:37pm UTC](https://community.shotgridsoftware.com/t/crud-error/14067/1 "2021-11-23T21:37:50Z")

</div>

Im getting this error when publishing hoping for some insight in to what is causing this

````auto
ShotgunPublishError: Unable to complete publishing because of the following error: API create() CRUD ERROR #10: Create failed for entity type [PublishedFile]: PG::LockNotAvailable: ERROR: canceling statement due to lock timeout```
````
