01-23-2023 06:14 AM
Hello everyone
I am implementing the rest api interface at customers load balanced site. Application pool recycle is required on both machines when configuration has been changed. So far I can get access token from IdP, and retrieve config information (KW, DTs, etc.) and documents as well with the rest api. Basically no issues with GET (and POST) calls.
When I try to import/archive a document I get keywordGuid and upload id while initiating the Upload. But when uploading the document with PUT i get http error code 405 - Method not allowed. I made sure, that both Application Server, respectively for the Hyland ApiServer HTTP Verbs GET, POST and PUT are allowed. Also the UNC Share configured within FSTemp has been set permission full control to 'everyone' for testing purposes.
Any idea what I am missing at this point?
BR Mirco
01-23-2023 06:49 AM
Hi
I have seen this occur before where the PUT verb is added under Request Filtering for the ApiServer web app, but it is not respected. The simple solution is to disable WebDAV by adding the following to the web.config for the ApiServer ...
<system.webServer> ... <!-- NOTE: ONLY ADD THE FOLLOWING. DO NOT REMOVE ANYTHING THAT ALREADY EXIST. --> <modules> <remove name="WebDAVModule" /> </modules></system.webServer>
While this article is specific for the Hyland IDP, the same concept applies.
Hope that helps.
01-23-2023 06:49 AM
Hi
I have seen this occur before where the PUT verb is added under Request Filtering for the ApiServer web app, but it is not respected. The simple solution is to disable WebDAV by adding the following to the web.config for the ApiServer ...
<system.webServer> ... <!-- NOTE: ONLY ADD THE FOLLOWING. DO NOT REMOVE ANYTHING THAT ALREADY EXIST. --> <modules> <remove name="WebDAVModule" /> </modules></system.webServer>
While this article is specific for the Hyland IDP, the same concept applies.
Hope that helps.
01-23-2023 07:08 AM
Perfect Adam, thank you for the speedy response. This has helped in my case!
BR Mirco
01-23-2023 07:16 AM
My pleasure
01-24-2023 02:38 AM
Hi,
For me, in a EP5 version, my solution is employing a POST method, not a PUT.
This works nice for us:
POST {{basePath}}/documents/uploads/{{VarUploadId}}?filePart=1
FYI, if we can help!
David.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.