During some builds today and also a few weeks ago, I saw some errors saying "Prismic ref needs an access token". But I'm querying only for data from the tip of "master", and I have "public API for master only" configured, so it should be public, and I'm surprised to get that error.
I wonder if what might be happening is that some document is published during the course of the build. This might mean that the ref I'm querying for is no longer the latest, and so is no longer public.
Is this the most likely explanation?
If so, I can just add an access token to this build task and move on. But if not, there might be a bug lurking somewhere.