Hi, I'm trying to move some assets using the HTTP MOVE API. But I'm getting 405 response saying Method not allowed. It was working till last week. Any idea how to fix this?
Thanks,
Rahul
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
There are two reasons why this could happen:
You are not using the correct HTTP method when invoking the API. Check your code is using the correct method while invoking the API
The server is blocking (not allowing) the HTTP method. This could be denied at the dispatcher level or at the publisher level as well. The best way to check is to hit the publisher directly. If it works, it means your dispatcher has been updated and you are no longer allowed to use the HTTP method on your server.
Hope this helps.
Hi @RahulMohan
Ensure that the user or service account making the HTTP MOVE request has adequate permissions, If AEM is accessed through a dispatcher, confirm that the dispatcher allows HTTP MOVE methods. Dispatcher configurations sometimes block specific methods for security reasons, and updates may inadvertently reset or restrict them review any recent updates to AEM, dispatcher, or network configurations.
Hi,
There are two reasons why this could happen:
You are not using the correct HTTP method when invoking the API. Check your code is using the correct method while invoking the API
The server is blocking (not allowing) the HTTP method. This could be denied at the dispatcher level or at the publisher level as well. The best way to check is to hit the publisher directly. If it works, it means your dispatcher has been updated and you are no longer allowed to use the HTTP method on your server.
Hope this helps.
@RahulMohan Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes