# Error when querying legacy engagements API

**URL:** <https://community.hubspot.com/t/error-when-querying-legacy-engagements-api/86583>\
**Category:** APIs & Integrations\
**Tags:** oauth\
**Created:** [August 1, 2023, 6:02pm UTC](https://community.hubspot.com/t/error-when-querying-legacy-engagements-api/86583 "2023-08-01T18:02:52Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sinyang](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sinyang/32/98615_2.png) [@sinyang](https://community.hubspot.com/u/sinyang)\
**Post date:** [August 1, 2023, 6:02pm UTC](https://community.hubspot.com/t/error-when-querying-legacy-engagements-api/86583/1 "2023-08-01T18:02:52Z")

</div>

I’m getting the following error when using the “/engagements/v1/engagements/recent/modified” endpoint.

“Forwarding for permission filtering not implemented here”.

This is happening across the board for all of my users. When using the same access tokens to query the v3 engagements API and the legacy “/oauth/v1/access-tokens” endpoint, I’m able to get back data with no error.

I haven’t seen any announcement on the legacy engagements api being sunset.

What new changes might be affecting that api?

---

<div class="post-metadata">

**Author:** ![alloy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alloy/32/31184_2.png) [@alloy](https://community.hubspot.com/u/alloy)\
**Post date:** [August 1, 2023, 6:17pm UTC](https://community.hubspot.com/t/error-when-querying-legacy-engagements-api/86583/2 "2023-08-01T18:17:47Z")

</div>

Having the same issue.

The API logs show that requests are landing at the wrong endpoint, possibly due to incorrect routing.

Request URI:

/engagements/v1/engagements/recent/modified

API Log shows a failed request with Request URI /contacts/search/v1/search/engagements/recent/modified

---

<div class="post-metadata">

**Author:** ![alloy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alloy/32/31184_2.png) [@alloy](https://community.hubspot.com/u/alloy)\
**Post date:** [August 1, 2023, 6:48pm UTC](https://community.hubspot.com/t/error-when-querying-legacy-engagements-api/86583/3 "2023-08-01T18:48:52Z")

</div>

Miraculously, 15 minutes after I posted the endppoint has “fixed itself” and the request started working again.

---

<div class="post-metadata">

**Author:** ![TimMunro](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/timmunro/32/19541_2.png) [@TimMunro](https://community.hubspot.com/u/TimMunro)\
**Post date:** [August 1, 2023, 9:06pm UTC](https://community.hubspot.com/t/error-when-querying-legacy-engagements-api/86583/4 "2023-08-01T21:06:30Z")

</div>

Yes, we are also encountering this issue which is impacting the legacy engagements API. Like you the error occured for a while, then stopped, and is now back. Just started today, no changes on our end. I think we need HubSpot support to jump on this, it is very reproducable, example request below:

```lia-code-sample
{
 method: "GET",
 url: "https://api.hubapi.com/engagements/v1/engagements/recent/modified?count=100",
 headers: {
 'Authorization': `Bearer ${token}`,
 'Content-Type': 'application/json'
 }
}

```

The response is HTTP400 message {“status”:“error”,“message”:“Forwarding for permission filtering not implemented here”,“correlationId”:“b1467725-d8a7-4f60-8ec7-14e1e58c9bc2”}

---

<div class="post-metadata">

**Author:** ![alloy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/alloy/32/31184_2.png) [@alloy](https://community.hubspot.com/u/alloy)\
**Post date:** [August 1, 2023, 9:33pm UTC](https://community.hubspot.com/t/error-when-querying-legacy-engagements-api/86583/5 "2023-08-01T21:33:33Z")

</div>

Yep, it’s back. I have just reported the issue to HubSpot support. Hope this gets looked into soon.

---

<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:** [August 2, 2023, 6:30pm UTC](https://community.hubspot.com/t/error-when-querying-legacy-engagements-api/86583/6 "2023-08-02T18:30:34Z")

</div>

Hey, y’all. Thanks for flagging this. Is anyone still experiencing the issue as of 12 PM MST 8/2/2023?

@sinyang @alloy @TimMunro @ATJA

I found the matching support ticket for this, and I want to double-check here as well.

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![ATJA](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/atja/32/60590_2.png) [@ATJA](https://community.hubspot.com/u/ATJA)\
**Post date:** [August 2, 2023, 10:58pm UTC](https://community.hubspot.com/t/error-when-querying-legacy-engagements-api/86583/7 "2023-08-02T22:58:29Z")

</div>

Issue has been resolved Jaycee - thanks for following up!  
A small suggestion for next time - might be worth updating the status page  
\<\> when things like that occur, so we don’t have  
to communicate via customer boards.  
Cheers
