# 404ing on \`prismic sm --pull\` (/customtypes endpoint)

**URL:** <https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726>\
**Category:** Developing with Prismic\
**Created:** [September 2, 2020, 2:17pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726 "2020-09-02T14:17:54Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephen](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@stephen](https://community.prismic.io/u/stephen)\
**Post date:** [September 2, 2020, 2:17pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/1 "2020-09-02T14:17:54Z")

</div>

Hey, everyone!

I'm playing around with the SliceMachine, and I'm getting 404s for some of my Prismic repositories (but not all) with the new `--pull` command. On a lark, I just tested it out with both manually created and CLI-created repositories, and it doesn't seem to matter how they were created. I've already tried logging in/logging out through the CLI commands, but it doesn't fix the problem (and the ~/.prismic "cookies" value is indeed changing).

Here's the actual stack trace, but I'm thinking it's an account-specific thing?

```
prismic sm --pull

ERROR [fetch] An unexpected (404) Error occured. 10:14:17
Url: https://fakerepository.prismic.io/customtypes?withSlices=true

  Url: https://fakerepository.prismic.io/customtypes?withSlices=true
  at Request._callback (node_modules/prismic-cli/bin/services/communication/index.js:131:16)
  at Request.self.callback (node_modules/prismic-cli/node_modules/request/request.js:186:22)
  at Request.emit (events.js:210:5)
  at Request.EventEmitter.emit (domain.js:475:20)
  at Request.<anonymous> (node_modules/prismic-cli/node_modules/request/request.js:1163:10)
  at Request.emit (events.js:210:5)
  at Request.EventEmitter.emit (domain.js:475:20)
  at IncomingMessage.<anonymous> (node_modules/prismic-cli/node_modules/request/request.js:1085:12)
  at Object.onceWrapper (events.js:299:28)
  at IncomingMessage.emit (events.js:215:7)

```

Does anyone have any idea as to what's going on and how I can resolve this? Also, I'm not sure if it's relevant, but some repositories are on the Medium plan while others are on the Free plan.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 2, 2020, 3:53pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/3 "2020-09-02T15:53:29Z")

</div>

Hi Stephen,

Welcome to the community!

Can you tell me what version of the the prismic-cli you’re using?

---

<div class="post-metadata">

**Author:** ![stephen](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@stephen](https://community.prismic.io/u/stephen)\
**Post date:** [September 2, 2020, 4:10pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/4 "2020-09-02T16:10:43Z")

</div>

Thanks for the welcome and the response, Phil! I’m using prismic-cli 3.8.0-beta.0. Let me know if you need any other information!

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 2, 2020, 4:15pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/5 "2020-09-02T16:15:35Z")

</div>

Thanks I’ll check with the team to see what I can figure out.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 2, 2020, 4:16pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/7 "2020-09-02T16:16:44Z")

</div>

OK, got it haha [https://fakerepository.prismic.io](https://fakerepository.prismic.io) doesn’t exist.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 2, 2020, 4:22pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/10 "2020-09-02T16:22:20Z")

</div>

Thanks, I removed your URL’s from the thread for your privacy. I’ll check this with the team.

---

<div class="post-metadata">

**Author:** ![stephen](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@stephen](https://community.prismic.io/u/stephen)\
**Post date:** [September 2, 2020, 4:22pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/11 "2020-09-02T16:22:55Z")

</div>

Thanks! I can also share the other repositories I’m using for production in a DM or something – these are the more important ones to get working. 🙂

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 2, 2020, 4:24pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/12 "2020-09-02T16:24:47Z")

</div>

OK so your repository getting the 404 isn't on a Slice Machine group which is why you're getting a 404. I can move that repo to Slice Machine? (This will work fine with integration fields)

**For anyone who needs this in the future, you can request this change as described here:**

> [@Feature Activations (GraphQL, Integration Fields etc.)](https://community.prismic.io/t/feature-activations-graphql-integration-fields-etc/847):
>
> This thread details how to request activation of the following Prismic features: Integration Fields Environments (Platinum Plan) You can also ask for these 'action' requests: Main locale changes Deleting user accounts Media removal requests Features that are activated by default (Need activated on legacy repos): GraphQL (Visit [https://your-repo-name.prismic.io/graphql](https://your-repo-name.prismic.io/graphql) to see your GraphQL browser) New toolbar/edit button (If the preview script in your repo has new=true, you are up to date…

---

<div class="post-metadata">

**Author:** ![stephen](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@stephen](https://community.prismic.io/u/stephen)\
**Post date:** [September 2, 2020, 4:31pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/14 "2020-09-02T16:31:18Z")

</div>

Hey, Phil! I’m not using integration fields on these, but is there a possibility of anything else breaking if we move the repository to the Slice Machine group? If not, I can send you the actual repositories in a private message.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 2, 2020, 4:33pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/15 "2020-09-02T16:33:56Z")

</div>

The other thing would be any repo’s using the environments feature. I can test it by moving one less risky repo for you now to see if anything changes?

---

<div class="post-metadata">

**Author:** ![stephen](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@stephen](https://community.prismic.io/u/stephen)\
**Post date:** [September 2, 2020, 4:35pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/16 "2020-09-02T16:35:15Z")

</div>

Sounds good – I’ll send you a development repository now.

---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [September 15, 2020, 4:45pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/17 "2020-09-15T16:45:30Z")

</div>

closed on September 15, 2020, 4:45pm UTC, flag & select 'Something Else' to reopen.



---

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [October 28, 2020, 5:57pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/18 "2020-10-28T17:57:21Z")

</div>

NOTE: This command has now been deprecated and replaced by the Push feature in Slice Machine:

> **[Prismic Developer Documentation](https://prismic.io/docs)**
>
> Start building with Prismic.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/system/32/1746_2.png) [@system](https://community.prismic.io/u/system)\
**Post date:** [December 9, 2021, 5:49pm UTC](https://community.prismic.io/t/404ing-on-prismic-sm-pull-customtypes-endpoint/1726/19 "2021-12-09T17:49:13Z")

</div>

Opened on December 9, 2021, 5:49pm UTC


