# 404 Error Returned by Products GET API

**URL:** <https://community.hubspot.com/t/404-error-returned-by-products-get-api/82411>\
**Category:** APIs & Integrations\
**Tags:** free, starter\
**Created:** [June 1, 2023, 12:43am UTC](https://community.hubspot.com/t/404-error-returned-by-products-get-api/82411 "2023-06-01T00:43:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkimmo](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@dkimmo](https://community.hubspot.com/u/dkimmo)\
**Post date:** [June 1, 2023, 12:43am UTC](https://community.hubspot.com/t/404-error-returned-by-products-get-api/82411/1 "2023-06-01T00:43:34Z")

</div>

![dkimmo_0-1685580138053.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/3/31c1f56587f35fd9f95a0fff6a8b09bd02e9e14c.png)

Have tried using both properties and the internal product ID but I’m still getting a 404 error any time I try getting product properties from the products/{productId} API. Am I doing something wrong here?

---

<div class="post-metadata">

**Author:** ![skimura](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@skimura](https://community.hubspot.com/u/skimura)\
**Post date:** [June 1, 2023, 4:58am UTC](https://community.hubspot.com/t/404-error-returned-by-products-get-api/82411/2 "2023-06-01T04:58:36Z")

</div>

@dkimmo

Hi.

Please let me ask you some questions.

-Are you using the correct access token/API key associated with the product ID?

-Is the Product ID specifying the correct ID? Where did you get it?

In my case, I check the product ID as follows.

Display the product on the product list page.

[https://app.hubspot.com/settings/{PORTAL\_ID}/sales/products](https://app.hubspot.com/settings/%7BPORTAL_ID%7D/sales/products)

And I’m checking the HTML attribute [data-line-item-id] .

```lia-code-sample
...
<span data-line-item-id="{XXXXXXXXX}" data-selenium-test="line-item-name-cell" data-test-id="line-item-name-cell" class="private-truncated-string private-truncated-string--has-tooltip" data-content="true" tabindex="0">
 <span class="private-truncated-string__inner"><span>
 <span>target_product_name</span>
</span>
...

```

Thanks.

---

<div class="post-metadata">

**Author:** ![dkimmo](https://avatars.discourse-cdn.com/v4/letter/d/b77776/32.png) [@dkimmo](https://community.hubspot.com/u/dkimmo)\
**Post date:** [June 1, 2023, 5:09am UTC](https://community.hubspot.com/t/404-error-returned-by-products-get-api/82411/3 "2023-06-01T05:09:38Z")

</div>

Ah sorry, I was using the accesstoken. Thanks!
