# Ghost v4 Fresh Install - 401 Unauthorized /members/api/members

**URL:** <https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857>\
**Category:** Developer help\
**Created:** [March 18, 2021, 12:14am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857 "2021-03-18T00:14:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![denvergeeks](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/denvergeeks/32/7401_2.png) [@denvergeeks](https://forum.ghost.org/u/denvergeeks)\
**Post date:** [March 18, 2021, 12:14am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/1 "2021-03-18T00:14:45Z")

</div>

Continuing/Moving my Topic Reply from [Upgrade to Ghost v4, but a lot of 503 error](https://forum.ghost.org/t/upgrade-to-ghost-v4-but-a-lot-of-503-error/20762/18):

I’m creating a new Topic for this issue because my post there relates **not to an upgrade** to v4, but to a **v4 fresh install**. (When I had successfully Upgraded the site from v3 to v4, at first everything worked – that is until I stopped the freshly updated instance, when restarting it stopped working as others have also found.)

Other than this error (below), so far this fresh Ghost v4 install is working, even after stopping and restarting this fresh Ghost instance the site is behaving properly.

Here is the post:

OK, fresh, new install of Ghost 4 on new subdomain, then restarted the instance and cleared all the caches (including Cloudflare), still get this error (and only after I refresh the page, not upon first arrival at the page):

 ![ghost-4-error-2-in-firefox-after-switch-off-portal-in-settings-then-restart-ghost](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/b47172cec8a3b1b4794cea5832217fd364141f99.jpeg)

And here is the Stack Trace:

`a [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:281553](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) sessionData [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:282034](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) e/< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:286075](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) c [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131397](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) u/o._invoke</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131151](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131756](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) b [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145267](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) i [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145471](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) (Async: promise callback) b [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145338](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) i [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145471](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145530](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145410](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) e/< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:306188](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) c [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131397](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) u/o._invoke</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131151](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131756](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) b [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145267](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) i [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145471](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145530](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145410](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) mr</<.value</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:306573](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) e/< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:302959](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) c [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131397](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) u/o._invoke</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131151](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131756](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) b [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145267](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) i [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145471](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145530](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145410](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) mr</<.value</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:303454](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) e/< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:302018](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) c [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131397](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) u/o._invoke</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131151](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:131756](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) b [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145267](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) i [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145471](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145530](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) v/< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:145410](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) mr</<.value</< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:302747](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) value [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:300549](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) rl [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:92165](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) pu [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:110061](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) n.unstable_runWithPriority [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:129375](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) Ua [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:53787](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) su [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:106535](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) Gl [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:102674](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) $l [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:99243](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) Iu [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:120698](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) Uu/< [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:121943](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) Zl [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:102822](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) Uu [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:121928](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) n.render [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:124912](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) <anonymous> [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:311147](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) <anonymous> [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:311273](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) t [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:110](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) <anonymous> [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:2575](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) t [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:110](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) <anonymous> [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:903](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) <anonymous> [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:3:912](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) t [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:1:110](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) <anonymous> [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:1:944](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) t [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:1:110](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) <anonymous> [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:1:902](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js) <anonymous> [https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js:1:911](https://unpkg.com/@tryghost/portal@~1.0.0/umd/portal.min.js)`

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [March 18, 2021, 12:22am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/2 "2021-03-18T00:22:51Z")

</div>

That request is made by Portal, and used to see who you are 🙂 Getting a 401 just means you’re not signed in.

---

<div class="post-metadata">

**Author:** ![denvergeeks](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/denvergeeks/32/7401_2.png) [@denvergeeks](https://forum.ghost.org/u/denvergeeks)\
**Post date:** [March 18, 2021, 12:26am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/3 "2021-03-18T00:26:18Z")

</div>

I just successfully logged in, and do still see that error.

Is that new in v4, @vikaspotluri123 ? I never saw that error come up in v3…

---

<div class="post-metadata">

**Author:** ![denvergeeks](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/denvergeeks/32/7401_2.png) [@denvergeeks](https://forum.ghost.org/u/denvergeeks)\
**Post date:** [March 18, 2021, 12:38am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/4 "2021-03-18T00:38:22Z")

</div>

I noticed in v4 the removal of the toggle to enable/disable Members that was in v3:

 ![ghost-v3-labs-enable-members-toggle](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/8/8274982f469bf9e7eff0b78b5654113ed48531d4.jpeg)

I miss that.

---

<div class="post-metadata">

**Author:** ![tmlmt](https://avatars.discourse-cdn.com/v4/letter/t/b487fb/32.png) [@tmlmt](https://forum.ghost.org/u/tmlmt)\
**Post date:** [March 18, 2021, 12:55am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/5 "2021-03-18T00:55:43Z")

</div>

See this other post. Others agree: [Ghost 4.0 - Really Terrible for Personal Blog](https://forum.ghost.org/t/ghost-4-0-really-terrible-for-personal-blog/20811)

---

<div class="post-metadata">

**Author:** ![naz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/naz/32/30666_2.png) [@naz](https://forum.ghost.org/u/naz)\
**Post date:** [March 18, 2021, 1:12am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/6 "2021-03-18T01:12:28Z")

</div>

@denvergeeks the `401` response is expected with current implementation. We are looking into other ways of handling this request, but for current version: “it’s not a bug, it’s a feature” 🙂

---

<div class="post-metadata">

**Author:** ![denvergeeks](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/denvergeeks/32/7401_2.png) [@denvergeeks](https://forum.ghost.org/u/denvergeeks)\
**Post date:** [March 18, 2021, 2:45am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/7 "2021-03-18T02:45:06Z")

</div>

![1-console-error](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/e/ebdef67d7e9d7f25208ba4a3d115b34c5e4044d4.jpeg) ![failed-to-load](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/e/e3538d5bd29d966bdbf908ddd46008c9a6c32863.jpeg) ![unauthorized](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/0/0b04ef15fd0d5938f69541fa2d206c259bb6875a.jpeg)

Like a tiny, evil pair of eyes, staring me down … taunting me in the dark of night …

---

<div class="post-metadata">

**Author:** ![luccast](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/luccast/32/12316_2.png) [@luccast](https://forum.ghost.org/u/luccast)\
**Post date:** [March 26, 2021, 3:46pm UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/8 "2021-03-26T15:46:34Z")

</div>

I’m having the same issue on fresh v4 install using digital ocean marketplace. I did very little and getting 401 unauthorized on the apiv2 and api/member, then api/send-magic-link get attempts.

No idea what to do.

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [March 26, 2021, 3:59pm UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/9 "2021-03-26T15:59:14Z")

</div>

@luccast if you’re getting 401s for more than `/members/api/member/` then you’re describing a different problem. Please open a new topic and include as many details as possible

---

<div class="post-metadata">

**Author:** ![truekasun](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/truekasun/32/20164_2.png) [@truekasun](https://forum.ghost.org/u/truekasun)\
**Post date:** [March 26, 2021, 10:27pm UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/10 "2021-03-26T22:27:22Z")

</div>

I think the API v2 is deprecated in Ghost 4.0 and the themes built for API v2 will not function properly with Ghost 4.x.x

> **[Ghost API Versioning](https://ghost.org/docs/faq/api-versioning/)**
>
> Information about the Ghost API versioning including a full list of statuses and suitability for production use. Read more in the Ghost documentation 👉

You will have to scan the theme via [https://gscan.ghost.org/](https://gscan.ghost.org/) and fix the issues to get it working on Ghost 4.x.x

---

<div class="post-metadata">

**Author:** ![Peter\_Jaffray](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/peter_jaffray/32/11910_2.png) [@Peter\_Jaffray](https://forum.ghost.org/u/Peter_Jaffray)\
**Post date:** [May 10, 2021, 7:21pm UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/11 "2021-05-10T19:21:26Z")

</div>

Lol… Me too. But I also kind of like the taunting.

---

<div class="post-metadata">

**Author:** ![Svetlana\_Tsupryk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/svetlana_tsupryk/32/10416_2.png) [@Svetlana\_Tsupryk](https://forum.ghost.org/u/Svetlana_Tsupryk)\
**Post date:** [May 19, 2021, 8:58pm UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/12 "2021-05-19T20:58:16Z")

</div>

Hello!  
We have no members, but after we had updated to 4 version I have such message in Console:  
GET https://\*\*/blog/members/api/member/ 401 portal.min.js:3.  
How can I remove it? We aren`t going to use paid members. Please, help 🥺

---

<div class="post-metadata">

**Author:** ![denvergeeks](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/denvergeeks/32/7401_2.png) [@denvergeeks](https://forum.ghost.org/u/denvergeeks)\
**Post date:** [May 20, 2021, 1:16am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/13 "2021-05-20T01:16:40Z")

</div>

Hey there @Svetlana_Tsupryk – If you **update to version 4.4.0** you can disable the whole membership banana and get rid of the error message as well …

> [@Ghost 4.4.0 - You can now DISABLE MEMBERSHIP feature and Portal](https://forum.ghost.org/t/ghost-4-4-0-you-can-now-disable-membership-feature-and-portal/22487):
>
> For those who want to disable portal script, membership feature. You can now by going to settings \> Members Access and set to “nobody”.

---

<div class="post-metadata">

**Author:** ![Svetlana\_Tsupryk](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/svetlana_tsupryk/32/10416_2.png) [@Svetlana\_Tsupryk](https://forum.ghost.org/u/Svetlana_Tsupryk)\
**Post date:** [May 20, 2021, 9:10am UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/14 "2021-05-20T09:10:55Z")

</div>

Thank you very much!

---

<div class="post-metadata">

**Author:** ![Peter\_Jaffray](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/peter_jaffray/32/11910_2.png) [@Peter\_Jaffray](https://forum.ghost.org/u/Peter_Jaffray)\
**Post date:** [June 26, 2021, 5:14pm UTC](https://forum.ghost.org/t/ghost-v4-fresh-install-401-unauthorized-members-api-members/20857/15 "2021-06-26T17:14:00Z")

</div>

> [@denvergeeks](#):
>
> the whole membership banana

That phrase is too funny not to comment on. I like it - peel the layers like a banana.
