Can't Import Trieve Dataset
# support
r
I'm getting the error "Invalid KB Details. Failed to validate trieve dataset: dataset not found" You can see the error in the first screenshot, and in the second you can see that trieve does have an dataset matching the provider ID I am sending. https://cdn.discordapp.com/attachments/1351972130010566698/1351972130417410193/image.png?ex=67dc51aa&is=67db002a&hm=235f8df28da89c150eaa82ff359f6d242f3538334c81b143c59da8e10b23496b& https://cdn.discordapp.com/attachments/1351972130010566698/1351972130874720376/image.png?ex=67dc51aa&is=67db002a&hm=0a9ad28cdaebc47e3b7baadfb8393282c75606d23643f9c84a905f304f5a6a59&
n
Are you sure that your provider credential Api Key is correct? Those are scoped per Trieve organization, so you may need a new one if you changed Trieve orgs.
r
n
@Ryan Opfer is this resolved?
r
I'm still getting the same error.
n
DM'ing you
j
Have you ensured your Trieve API credentails have been set on your VAPI org.
r
Yep, I can do other API calls.
Notice, I am able to import this trieve dataset into Vapi, I just can't do it for: 3510a7cf-f984-4c8e-8c72-e72d778a00a6 There's no reason why it works for one dataset but not the other. https://cdn.discordapp.com/attachments/1351972130010566698/1352084126639067188/image.png?ex=67dcb9f8&is=67db6878&hm=32d7a2cdd675769d86afc062e988e4979d3067aac1b63f2cc13b10fa91e6b1ac&
We didn't resolve this but we could reproduce it. Solution: deleted the dataset and recreated it.
s
@Ryan Opfer The KB was failing to be created because it was unable to find out if the dataset exists or not. The resolution to this was eventually creating the KB again, which you have already done. So yeah I'm putting the logs below and marking this trigger as solved.
Copy code
json
{
  "message": "Invalid Knowledge Base Details. Failed to validate trieve dataset: dataset not found",
  "error": "Bad Request",
  "statusCode": 400
}
c
i'm facing the same problem. Is this "solution" part of a bug that was/being fixed? i already: - double checked the permissions on the api key - set trieve's api key on vapi - tried creating a new blank ds on trieve and then using it to create a kb in vapi always the same problem: dataset not found
v
This ticket has been marked as solved, and as a result, you will no longer receive any further responses. Kindly create a new support ticket to escalate your inquiry. 
2 Views