Hey team! Just running into this error, could anyone help?
I had one virtual key (say, K1) being used across all my prompts. Then I added two more keys (K2 and K3) and updated all my prompts to use K2. Added a config (C1) to use K2 and K3. Deleted K1. Now when I make an api call:
- without config C1: the response is successful
- with config C1: throws error -
portkey_ai.api_resources.exceptions.BadRequestError: {"status":"failure","message":"Following keys are not valid: <k1>"}