# api.hubapi.com/content/api/v2/pages getting a 405 response

**URL:** <https://community.hubspot.com/t/api-hubapi-com-content-api-v2-pages-getting-a-405-response/34118>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [March 18, 2021, 5:21pm UTC](https://community.hubspot.com/t/api-hubapi-com-content-api-v2-pages-getting-a-405-response/34118 "2021-03-18T17:21:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danr](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danr/32/13631_2.png) [@danr](https://community.hubspot.com/u/danr)\
**Post date:** [March 18, 2021, 5:21pm UTC](https://community.hubspot.com/t/api-hubapi-com-content-api-v2-pages-getting-a-405-response/34118/1 "2021-03-18T17:21:29Z")

</div>

We have been using this API end point for years - this month, it seems to have broken as we are getting a 405 response to this call. Has something changed that would break this API call?

We use the CLONE version:

[http://api.hubapi.com/content/api/v2/pages/{copy\_page\_id}/clone](http://api.hubapi.com/content/api/v2/pages/%7Bcopy_page_id%7D/clone)

The error return:

‘\<html\>\n\<head\>\n\<meta http-equiv=“Content-Type” content=“text/html;charset=utf-8”/\>\n\<title\>Error 405 Method Not Allowed\</title\>\n\</head\>\n\<body\>\<h2\>HTTP ERROR 405\</h2\>\n\<p\>Problem accessing /cospages/v1/pages/6141784470/clone. Reason:\n\<pre\> Method Not Allowed\</pre\>\</p\>\n\</body\>\n\</html\>\n’

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 19, 2021, 7:19pm UTC](https://community.hubspot.com/t/api-hubapi-com-content-api-v2-pages-getting-a-405-response/34118/2 "2021-03-19T19:19:04Z")

</div>

Hi @danr

I think if you update the http to https, you should be good. What is happening is that it is redirecting to the secure protocol, but the method is not coming along for the ride.
