Help with `[optimize] HTTP 409 Conflict: There is no active recording to write queries to.`
I have a NextJS 14 site running in local development. However, I run it using
next dev -p 3002 --experimental-https
as I need SSL for local testing.
I have a very straightforward Prisma setup.
In the prisma.schema
I have the following
I've checked the optimize API key, and I have a running query recording in the Prisma optimize dashboard. I do, however, still get the following error.
[optimize] HTTP 409 Conflict: There is no active recording to write queries to. Please go to your dashboard at https://optimize.prisma.io and start a new recording.
Is there something I'm missing?
Thanks! 🎅7 Replies
Hello @Ririr 👋
That's strange. Just to confirm, when you start a recording in your workspace, do you get this message "You have started a recording. Any query recorded from your application will appear here. Please run the queries in your application now."?
Also, can you share your workspace id?
It should be available in the URL:
https://optimize.prisma.io/[workspaceid]
Yes. I do. Looks just like that.
Thanks for confirming. Can you share the workspace id?
I'll share it with our Optimize team to debug this
Absolutely @Nurul , it's `cm4txfo2402d4keppm6vsrdns``
And I could definetly be something on my side ... But love to get this working.
Thanks for sharing! I'll get this checked from our side.
Meanwhile, can you double check the API key that you are using? I just want to confirm that the API key you are using belongs to the workspace in which you have started the recording.
Damn! I was sure the key was correct. But to be 100% sure, I generated a new one, and things started working. Sorry. My mistake.
I am glad to hear that things started working! 🙂
Please let us know in case you have any feedback 🙌