# E-Commerce Scope not working with Private App

**URL:** <https://community.hubspot.com/t/e-commerce-scope-not-working-with-private-app/67283>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [October 17, 2022, 2:47pm UTC](https://community.hubspot.com/t/e-commerce-scope-not-working-with-private-app/67283 "2022-10-17T14:47:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JSargent38](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@JSargent38](https://community.hubspot.com/u/JSargent38)\
**Post date:** [October 17, 2022, 2:47pm UTC](https://community.hubspot.com/t/e-commerce-scope-not-working-with-private-app/67283/1 "2022-10-17T14:47:04Z")

</div>

Hi there,  
I recently found myself needing the products API so I added e-commerce as a scope for the private app and committed the changes, however I am still getting a 403 when trying to create a product. I even created a brand new private app and tried that, same result.  
I also tried sending a test request from your API docs with my access token just to make sure nothing in my code was the issue. Using this feature.

 ![JSargent38_2-1666017962946.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/8/18a9db1d5ce61661459e7085efc2042a318a7db3.png)

Same result…

Here you can clearly see e-commerce is in my list of scopes.

 ![JSargent38_0-1666017655944.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/a/fa6812a356444fd3d928128ae52a355682326af8.jpeg)

This is the error I am receiving, pulled from the logs.

 ![JSargent38_1-1666017842558.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/2X/0/0d72e1e9a25cef6c7de9ee9fd9c8f14b3a704a9f.jpeg)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [October 18, 2022, 5:11pm UTC](https://community.hubspot.com/t/e-commerce-scope-not-working-with-private-app/67283/2 "2022-10-18T17:11:08Z")

</div>

Hey, @JSargent38 👋 Thanks for reaching out. I ran a simplified test just now and was able to [create a product](https://developers.hubspot.com/docs/api/crm/products) using a private app for authorization.

My steps:

- I created a new private app with only the ecommerce scope

 ![CleanShot 2022-10-18 at 11.06.22.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/6/644ee79b35fcb2b6bc81861d4fde61f1e1e8552e.png)

- I used this endpoint  
`POST /crm/v3/objects/products​`

- Request

- Response

My suggestion is to try using a simplified approach like above. And then either remove and re-add the ecommerce scope to your private app, or update your new private app with the remaining scopes after you confirm it works as expected.

Have fun building! — Jaycee

---

<div class="post-metadata">

**Author:** ![05883](https://avatars.discourse-cdn.com/v4/letter/0/dbc845/32.png) [@05883](https://community.hubspot.com/u/05883)\
**Post date:** [November 25, 2022, 1:17pm UTC](https://community.hubspot.com/t/e-commerce-scope-not-working-with-private-app/67283/3 "2022-11-25T13:17:03Z")

</div>

Hi! I actually tried this very call on Postman as a test and the response says that i require the e-commerce scopes, which i can select only as “request” (not as “read” and “write” like the others objects)

As a matter of fact i can get the products by API but cannot create any.

I’m missing some permissions? Thank you very much for your time.
