# Plugin rest api 404 error

**URL:** <https://developer.sailpoint.com/discuss/t/plugin-rest-api-404-error/169421>\
**Category:** IIQ Discussion and Questions\
**Tags:** api, plugins, identityiq, access-requests\
**Created:** [August 14, 2025, 9:06am UTC](https://developer.sailpoint.com/discuss/t/plugin-rest-api-404-error/169421 "2025-08-14T09:06:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Riyazuddin99](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@Riyazuddin99](https://developer.sailpoint.com/discuss/u/Riyazuddin99)\
**Post date:** [August 14, 2025, 9:06am UTC](https://developer.sailpoint.com/discuss/t/plugin-rest-api-404-error/169421/1 "2025-08-14T09:06:48Z")

</div>

Hello [@everyone](https://developer.sailpoint.com/discuss/groups/everyone)

Continuing the discussion from [Need API to get the count of approvals pending with owner](https://developer.sailpoint.com/discuss/t/need-api-to-get-the-count-of-approvals-pending-with-owner/54927/9):

I have the same requirement at my end but unable to get the response from the plugin api I am getting 404 error when calling the api  
can any one suggest me over this.  
is there any step which I am missing, I have imported the plugin into my environment and trying test the response. also I assign the user with the communityrestapi capability. still no luck

Thanks in advance

---

<div class="post-metadata">

**Author:** ![abartkowski](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/abartkowski/32/23007_2.png) [@abartkowski](https://developer.sailpoint.com/discuss/u/abartkowski)\
**Post date:** [August 14, 2025, 12:22pm UTC](https://developer.sailpoint.com/discuss/t/plugin-rest-api-404-error/169421/2 "2025-08-14T12:22:43Z")

</div>

Do you mean your java endpoint from frontend?

ifso try this:

```auto
const requestDetailsUrl = PluginHelper.getPluginRestUrl(`yourenpoint/${yourEndpoinVariable}`)

```

---

<div class="post-metadata">

**Author:** ![Riyazuddin99](https://avatars.discourse-cdn.com/v4/letter/r/7cd45c/32.png) [@Riyazuddin99](https://developer.sailpoint.com/discuss/u/Riyazuddin99)\
**Post date:** [August 19, 2025, 9:55am UTC](https://developer.sailpoint.com/discuss/t/plugin-rest-api-404-error/169421/3 "2025-08-19T09:55:49Z")

</div>

Hello Everyone,

Thanks for your supports,

I am now able to to access the url and able to see the response.  
cause of my issue was I was using the incorrect url due to which it was leading to 404 error.

after usings the right url then was able to get successful response from the API urls.

Thanks  
Riyazuddin

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [October 18, 2025, 9:56am UTC](https://developer.sailpoint.com/discuss/t/plugin-rest-api-404-error/169421/4 "2025-10-18T09:56:10Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
