|
I have tried to use the move method to rename a folder but I get an Exception: Exception in thread "main" com.github.sardine.impl.SardineException: Unexpected response (400 Bad Request)
Is folder renaming not supported? |
Answered by
lookfirst
Jan 12, 2026
Replies: 1 comment 5 replies
|
Hey, welcome! 👋 The best thing is to send us the logs from the server since that's the one rejecting the request. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

That's awesome, thanks.
I guess I should have been more clear. I'm looking for the logs where the error is. What you've provided is the "access log" that shows a 400 is being returned, but what need to dig into is the "why" 400 is being returned. Something in the MIIS 10.0 server is returning the 400 and we need to figure out what that is. There is probably an "error log" somewhere.
My instinct is that this is a server configuration issue somewhere and really has nothing to do with Sardine itself. Sardine is just a client making requests, so what you really want to look into is why the server is not accepting that request and returning 400.
One question, you're creating a directory. Do yo…