Issue with rationalizationApi PUT API
Hi,
I try to use rationalizationApi PUT to update a library(document), but stuck on this error:
{ "timestamp": 1726883080329, "status": 400, "errorCode": 310385, "message": "Bad Request", "details": "File size exceeds maximum supported size (-1)."}
Here is my endpoint and request:
PUT http://{my opentext DNS}/rationalizationApi/api/v1/migrationset/DEV/{document Id}:
migSetReq: {"id":"c301e378-d5c6-4f4b-a58a-afd936ee7f7f","name":"PDF Test 1234","isHidden":false,"locked":false,"fragTolerance":50,"ratTolerance":50,"dataSources":[],"outputSamples":[{"id":"b42b9280-6ff0-48c4-93e8-adf749160031","name":"ElectricityTerms&Conditions-20230215202422866.pdf","type":"PDF","isIncluded":true,"process_type":"DEFAULT","isFavorite":false},{"id":"f21dab7c-7a17-4c71-99c0-a15764290355","name":"NaturalGasTermsandConditions-20230215202422866.pdf","type":"PDF","isIncluded":true,"process_type":"DEFAULT","isFavorite":false}],"migrationType":"CONTENT","jobExecutionStatus":"EXECUTED","filter":{"baseFilter":"DesignPack","designPackId":"c0b69a8f-4d7a-4ab6-b915-76644a537c08"},"state":"DRAFT","version":1,"msid":"2db5d014-0b2e-4b9b-82f5-4161320ff9b1","status":"YELLOW","percentage":100,"type":"exstrmigrationset"}
I have tried with/without bundle upload file, but not able to get rid of this error.
Please advise what I am missing in this call.
Best Answer
Answers
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 146 General Questions
- 136 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 82 Digital Asset Management
- 9.3K Documentum
- 30 eDOCS
- 173 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 6 XM Fax