404 on content download via OT2 Viewer
When I get the publication data from OT2 CSS, I get the URLs inside it without the "/css" path appended to them. Because of this, I am getting 404s when the OT2 Viewer loads. When I manually add the "/css" endpoint to the URLs, it works properly.
Is this a known issue with the OT2 Viewer?
Please check the diff below to understand more clearly:
The one on the left is a snippet of the JSON response returned by the CSS service. This JSON throws 404 when used in the OT2 Viewer.
The one on the right was modified manually by me. I added the "/css" endpoint to the URLs (you can see other instances too, in the document map on the extreme left). After this change, I am able to view the document using the OT2 Viewer.
Best Answer
Answers
-
Got it. I changed my base URL from
https://na-1-dev.api.opentext.com/css/instances/file/:type/:id/contents
to
https://css.na-1-dev.api.opentext.com/instances/file/:type/:id/contents
And I got the response that I was expecting. Thanks!
0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 149 General Questions
- 148 Thrust Services
- 56 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 181 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories