# Vector Store API - wont resolve to any format

**URL:** <https://community.openai.com/t/vector-store-api-wont-resolve-to-any-format/782505>\
**Category:** Bugs\
**Created:** [May 27, 2024, 9:13pm UTC](https://community.openai.com/t/vector-store-api-wont-resolve-to-any-format/782505 "2024-05-27T21:13:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![encodeshared](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/encodeshared/32/147517_2.png) [@encodeshared](https://community.openai.com/u/encodeshared)\
**Post date:** [May 27, 2024, 9:13pm UTC](https://community.openai.com/t/vector-store-api-wont-resolve-to-any-format/782505/1 "2024-05-27T21:13:27Z")

</div>

Can anyone tell me

vector\_store\_file = client.beta.vector\_store.files.create(  
vector\_store\_id=“vs\_abc123”,  
file\_id=“file-abc123”

vector\_store is not an item of Beta, openai or OpenAI

ive tried all

api\_key = os.environ[“OPENAI\_API\_KEY”]  
client = openai.Client(api\_key=api\_key,  
default\_headers={“OpenAI-Beta”: “assistants=v2”})  
Cannot access member “vector\_store” for type “Beta”  
Member “vector\_store” is unknown

and

client = OpenAI(

and

import openai  
from openai import OpenAI

api\_key = os.environ[“OPENAI\_API\_KEY”]  
client = openai.OpenAI(api\_key=api\_key,  
default\_headers={“OpenAI-Beta”: “assistants=v2”})  
Cannot access member “vector\_store” for type “OpenAI”  
Member “vector\_store” is unknown

using Python SDK  
1.6.1

help is appreciated

---

<div class="post-metadata">

**Author:** ![deweshpandey548](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/deweshpandey548/32/146362_2.png) [@deweshpandey548](https://community.openai.com/u/deweshpandey548)\
**Post date:** [May 28, 2024, 3:20pm UTC](https://community.openai.com/t/vector-store-api-wont-resolve-to-any-format/782505/2 "2024-05-28T15:20:02Z")

</div>

I am also facing the same problem  
Beta doeest have vector\_stores

Did you find the solution
