# Error uploading embeddings for a 1.5mb file

**URL:** https://community.pinecone.io/t/error-uploading-embeddings-for-a-1-5mb-file/7400
**Category:** Support
**Tags:** vector-database, embeddings
**Created:** [January 22, 2025, 6:18pm UTC](https://community.pinecone.io/t/error-uploading-embeddings-for-a-1-5mb-file/7400 "2025-01-22T18:18:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![martin1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/martin1/32/3631_2.png) [@martin1](https://community.pinecone.io/u/martin1)
#### Post date: [January 22, 2025, 6:18pm UTC](https://community.pinecone.io/t/error-uploading-embeddings-for-a-1-5mb-file/7400/1 "2025-01-22T18:18:57Z")

</div>

Hi, I’m trying to upload the embeddings generated with a text-small openai embeddings model of the attached file but it fails with the following message:

{“code”=\>11,  
“message”=\>“Error, message length too large: found 7355723 bytes, the limit is: 4194304 bytes”,  
“details”=\>}

This is the file being vectorized:

> **[sec-filing-q1-2024.pdf](https://investor.mercadolibre.com/sites/mercadolibre/files/mercadolibre/results/sec-filing-q1-2024.pdf)**
>
> 512.33 KB

Any ideas?

---

<div class="post-metadata">

### Author: ![bear](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/bear/32/1488_2.png) [@bear](https://community.pinecone.io/u/bear)
#### Post date: [January 23, 2025, 3:54pm UTC](https://community.pinecone.io/t/error-uploading-embeddings-for-a-1-5mb-file/7400/2 "2025-01-23T15:54:39Z")

</div>

Just to check- is your index set to expect 1536 dimensions? You can look in the console for your project.

---

<div class="post-metadata">

### Author: ![martin1](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/martin1/32/3631_2.png) [@martin1](https://community.pinecone.io/u/martin1)
#### Post date: [January 23, 2025, 4:58pm UTC](https://community.pinecone.io/t/error-uploading-embeddings-for-a-1-5mb-file/7400/3 "2025-01-23T16:58:09Z")

</div>

Yes it is set to that amount of dimensions.

---

<div class="post-metadata">

### Author: ![admin15](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/admin15/32/3984_2.png) [@admin15](https://community.pinecone.io/u/admin15)
#### Post date: [May 22, 2025, 12:57pm UTC](https://community.pinecone.io/t/error-uploading-embeddings-for-a-1-5mb-file/7400/4 "2025-05-22T12:57:36Z")

</div>

hello. did you figure this out? i am getting the same issue

---

<div class="post-metadata">

### Author: ![milen](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/milen/32/3914_2.png) [@milen](https://community.pinecone.io/u/milen)
#### Post date: [May 22, 2025, 2:31pm UTC](https://community.pinecone.io/t/error-uploading-embeddings-for-a-1-5mb-file/7400/5 "2025-05-22T14:31:44Z")

</div>

Welcome to the Pincone community @admin15\[1\]

I’m not sure what “the same issue” means here, but here are some things to check:

- The chunk size - if you are parsing a file and upserting all chunks in one request, the payload may exceed the limit. Try to upsert in smaller batches.
- The metadata - there is a limit on the maximum size of metadata per record

To learn about all limits that apply, please see [Pinecone Database limits - Pinecone Docs](https://docs.pinecone.io/reference/api/database-limits)

* * *

1. Friendly suggestion - change your username to something that won’t discourage members from helping you
