cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP 405 "Method not allowed" while uploading document

Mirco_Novello
Confirmed Champ
Confirmed Champ

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?

 

 

 

d83947e9882e495682f15952cbea7134

585143038b5748f09a26053fd15261ad

 

BR Mirco

1 ACCEPTED ANSWER

AdamShaneHyland
Employee
Employee

Hi @Mirco Novello ,

 

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>

 

https://support.hyland.com/r/OnBase/API-Server/English/Foundation-22.1/API-Server/Installation/Troub...

 

While this article is specific for the Hyland IDP, the same concept applies.

 

https://community.hyland.com/tskb/000016011-hyland-idp-error-when-attempting-to-create-modify-or-del... 

 

Hope that helps.

View answer in original post

5 REPLIES 5

David_Fabregas
Confirmed Champ
Confirmed Champ

Sorry,  it's a confusion on my part, ignore the previous post...