# Migrating vBulletin 5 database - Import attachments errors about attachment extension

**URL:** <https://meta.discourse.org/t/migrating-vbulletin-5-database-import-attachments-errors-about-attachment-extension/315235>\
**Category:** Migration\
**Tags:** vbulletin5\
**Created:** [July 6, 2024, 1:53pm UTC](https://meta.discourse.org/t/migrating-vbulletin-5-database-import-attachments-errors-about-attachment-extension/315235 "2024-07-06T13:53:34Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)\
**Post date:** [July 11, 2024, 11:10am UTC](https://meta.discourse.org/t/migrating-vbulletin-5-database-import-attachments-errors-about-attachment-extension/315235/17 "2024-07-11T11:10:44Z")

</div>

> [@pfaffman](#):
>
> Do you expect these json files to be attachments

I don’t think these are json files, it’s json metadata.  
It looks like vBulletin changed their encoding of attachment locations from

`[attach]123[/attach]`

to  
`[attach=json]{"data-attachmentid":123}[/attach]`

and the importer cannot handle that. It should attach the attachments anyway, these tags are only for positioning them within the post. But the deletion of the tag only happens when they contain a numeric id.

A lot of other errors in the screenshot above are independent of this issue.

---

_[View the full topic](https://meta.discourse.org/t/migrating-vbulletin-5-database-import-attachments-errors-about-attachment-extension/315235)._
