Hi, guys! Could you please help me with migration api? Yesterday I created script and it was working fine. I created draft documents, API was working fine.
Today I receive 403 error from endpoint https://migration.prismic.io/documents Nothing has changed on my side, all credentials, api-keys etc are correct, code is the same. May be it's too hot for API requests? Or may be we deal with some black magic? It's a joke, but could you have a look please.
Done it, result is the same: 403 error. Token is generated, but migration API returns 403 if I use correct credentials. If I test incorrect credentials, it says: {"Message":"User is not authorized to access this resource with an explicit deny"}. So the problem is not in auth, server authenticates me and returns {"Message":"Forbidden"}
I made CLI utility.
Here is code (all env variables are triple checked and correct, yesterday I created test pages with this script and did not changed anything)
Hi, @Phil I am sorry, the problem was on my side. Env variables were triple checked, but they need to be ten times checked if needed No magic as always, just stupid and obvious error on my side. Migration API is working fine for my now.