Hi -
when i try to access the api browser in prismic i get the response of "invalid access token".
Can someone help me please?
Thanks
Hi -
when i try to access the api browser in prismic i get the response of "invalid access token".
Can someone help me please?
Thanks
Hello @yossin
Welcome back to Prismic Community and thanks for posting this question to us.
The API Browser is accessed by querying your endpoint without the CDN from a browser. The URL should behttps://your-repo-name.prismic.io/api/v2
when you hit the Prismic API browser. Can you send me the repo url? You can send me a private message too.
Thanks,
Priyanka
Hi @yossin
I have received your message and this is really strange!
I managed to reproduce the issue and get the exact same error as you. I've submitted a ticket with our dev team to look into this, and I'll let you know what they say.
Thanks,
Priyanka
Hello @yossin
I have checked your repository. It is set to be private for any request. Can you please try to change the API visibility from Private to Public and hit this URL in the API browser https://fihservices.prismic.io/api/v2
Thanks,
Priyanka
i changed it. now when hitting the api browser i get some json response in return. I guess you can see it for yourself.
i don't see the api browser UI like i used to before.
it was never public. it was always private. what have been changed?
Hello @yossin
Are you getting any errors in network tabs? Can you send me a screenshot with network tabs?
Thanks
Priyanka
Hello @yossin
This issue has been solved and gets fixed. Can you please test it on your side too?
Thanks,
Priyanka
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
Hi Priyanka.
I'm also getting this identical error. The visibility of my repo is Private.
https://brandguidedemo.cdn.prismic.io/api/v2
I'm using NEXT JS, so I'm accessing Prismic without an endpoint.
Hey @david2,
It sounds like your issue might be related to this:
Take a look through the thread and see if any of the workarounds help.
Sam