Error 500 API: Unable to query the API after the Activation of Bulk Actions

Hi there,
Unfortunately I can't query the API after I got the activation of the bulk actions feature. It's returning error 500.

Details:

Repository: https://davidmzee.prismic.io/

Example Query: https://davidmzee.cdn.prismic.io/api/v2/documents/search?page=1&pageSize=1&ref={"_tracker"%3A"u5exe8M1"}&q=[[at(document.type%2C%20"homepage")]]

I get the same error when I try to access the API via the API browser in the writing room.

Please return to the version without bulk actions if needed.
Thanks a lot for your response.
Best regards
David

I can't publish any new version of a document in the writing room either.

Hi @nativv,

Your example query works fine for me, as does the API Browser for your repo. I'm wondering if this problem might be a caching issue. I think the API team has all finished work for the week, so we won't be able to debug this until Monday. In the meantime, can you let me know if it resolves itself?

Sam

Hi Sam,
Fortunately, your team was very quick to revert back to the old version of the API.
The error was due to a bug in the new version of the Prismic API (bulk actions)
Thanks a lot
David

1 Like

@nativv Oh good, I'm glad that it's resolved! Thanks very much for the update :slight_smile:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.