You do not have permission to perform this action.
client = OpenAI(
api_key = RUNPOD_TOKEN,
base_url = OPENAI_BASE_URL,
)
response = client.chat.completions.create(
model = MODEL_NAME,
messages = [
{'role': 'user', 'content': 'what is the capital of germany?'}
],
temperature=0.0,
top_p = 0.8,
max_tokens=2000,
)
Got -> Error code: 403 - {'error': 'You do not have permission to perform this action.'}
3 Replies
Unknown User•11mo ago
Message Not Public
Sign In & Join Server To View
i am getting the same error and my base url looks like this "https://api.runpod.ai/v2/170v91f13e5wrf/openai/v1"
i really need your help with this, i have a project to show tomorrow
Unknown User•4w ago
Message Not Public
Sign In & Join Server To View