---
updatedAt: 2026-04-16T23:38:16.000Z
agentTools:
  projectIndex: https://snipe-it.readme.io/llms.txt
---

# Fix Missing Assigned Type

In previous versions of Snipe-IT, it was possible to log an asset checkout without including an `assigned_type` value, which could cause a 500 error when trying to view that asset. We have a console command that will allow you to fix that.

```
# Fix assigned_to that doesn't include an assigned_type
$ php artisan snipeit:assigned-to-fixup
```

with an optional `--debug : Display debugging output` flag for more debugging information.

```
# Fix assigned_to that doesn't include an assigned_type with additional debugging info
$ php artisan snipeit:assigned-to-fixup --debug
```

<br />