I am attempting to set up a call to get our routes from Bloomreach. I set up a token for read on the following:
Site management: Read
Content type management: Read
Content batch import: Read
Content management: Read
Projects management: Read
Folder management: Read
I have set up the end point as needed: https://{{baseEndpoint}}/cms/management/site/v1/channels/{channeId}/routes
And I am sending my created token in the headers under x-auth-token as the documentation says.
I am getting a 401 every time. Whether it’s in my application, or in Postman (I have tried manual set up, and forking the Postman item as well).
Yes, and I put in my information for my project, bxrHost, and my token for the environment settings, and made sure that the environment was being used.
I also made sure, after saving, to close all my tabs so old data was not still in use.
Lastly, 401s:
There have been some issues where tokens have been revoked. We seem to have resolved this issue, but it’s possible you may be experiencing another version of the issue. Just check that your API token still exists in the CMS UI under “brXM API token management”
The only other thing I can think of is that when selecting the permission check boxes, you may have missed the site management box.
Thank you for your help Nicholas. I came back the next day, retried the token creation a couple of times, and it finally started working after creating a 3rd token (same settings as mentioned before). Very strange, but it is at least working now.