# Pinecone Upsert finding strings in my vectors

**URL:** <https://community.pinecone.io/t/pinecone-upsert-finding-strings-in-my-vectors/2657>\
**Category:** Support\
**Tags:** vector-database, embeddings\
**Created:** [July 13, 2023, 8:40pm UTC](https://community.pinecone.io/t/pinecone-upsert-finding-strings-in-my-vectors/2657 "2023-07-13T20:40:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Riley-livingston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/riley-livingston/32/1035_2.png) [@Riley-livingston](https://community.pinecone.io/u/Riley-livingston)\
**Post date:** [July 13, 2023, 8:40pm UTC](https://community.pinecone.io/t/pinecone-upsert-finding-strings-in-my-vectors/2657/1 "2023-07-13T20:40:59Z")

</div>

I just started using Pinecone and am on the free starter tier. I’m trying to create an index and upsert vector representation of images for use in a visual search engine. My vectors are generated from fine-tuned resnet50 (2048 dimensions) and I’m getting a value-type error where strings are being detected in the vector value lists. I ended up creating a dummy vector and I’m still getting the same error.

# Create a dummy vector with 2048 dimensions

dummy\_vector = [1.0]\*2048

# Confirm the type of dummy vector and its elements

print(type(dummy\_vector)) # Should output \<class ‘list’\>  
print(all(isinstance(x, float) for x in dummy\_vector)) # Should output True

# Create a dictionary to hold the dummy vector

dummy\_dict = {“dummy\_item”: dummy\_vector}

# Insert the dummy vector into the index

try:  
index.upsert(vectors=dummy\_dict)  
except ValueError as e:  
print(“An error occurred during upsert operation:”, str(e))

\<class ‘list’\>  
True  
An error occurred during upsert operation: Invalid vector value passed: cannot interpret type \<class ‘str’\>

I’m new to computer Vvsion and vector databases so maybe it’s an extremely simple thing I’m missing or doing wrong here.

---

<div class="post-metadata">

**Author:** ![Riley-livingston](https://sea2.discourse-cdn.com/flex020/user_avatar/community.pinecone.io/riley-livingston/32/1035_2.png) [@Riley-livingston](https://community.pinecone.io/u/Riley-livingston)\
**Post date:** [July 14, 2023, 12:46am UTC](https://community.pinecone.io/t/pinecone-upsert-finding-strings-in-my-vectors/2657/2 "2023-07-14T00:46:52Z")

</div>

Ok, so I’ve realized I needed to convert into a tuple. Problem solved
