Score not found within authorized project #4827
-
I'm experiencing an issue when attempting to delete a specific score using the Langfuse API/library.
Error Message
Attempted Troubleshooting
Would appreciate guidance on resolving this deletion permission issue. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @soumya-t! 👋 I'm here to help you with bug fixes, answer your questions, and guide you on becoming a contributor. Let's squash those bugs together! To resolve the "Score not found within authorized project" error when attempting to delete a score using the Langfuse API, ensure that the const score = await prisma.score.findUnique({
select: {
id: true,
},
where: {
id: scoreId,
projectId: auth.scope.projectId,
},
});
if (!score) {
throw new LangfuseNotFoundError(
"Score not found within authorized project",
);
} Here are some steps you can take to troubleshoot further:
By following these steps, you should be able to identify and resolve the issue with the score deletion. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
thanks for sharing, let's turn this into a bug report: #4828 |
Beta Was this translation helpful? Give feedback.
thanks for sharing, let's turn this into a bug report: #4828