[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [Feedback](/c/feedback/8) # Integration log drain return logs for all projects even with only one project specified 87 views · 2 likes · 5 posts Jarl Eriksen (@jarleriksen) · 2024-07-26 ### Summary I have created an integration log drain using the `https://api.vercel.com/v2/integrations/log-drains` endpoint. I'm only specifying a single project id in the `projectIds` field. If I query the `https://api.vercel.com/v2/integrations/log-drains` endpoint using a GET, I correctly get the response like ``` { "projectIds": [ "MY_PROJECT" ], ... } ``` If I modify the permissions for the integration to only include one project, it'll show correctly but even if I then allow the integration to access all projects, it'll revert back to include all projects. What am I missing here? Thanks! ### Steps to Reproduce Requires a team with multiple projects where the integration has access to all projects. Create an integration log drain using a POST request to `https://api.vercel.com/v2/integrations/log-drains` endpoint with the required body. ```json { "name": "Integration log drain", "url": "MY_URL", "projectIds": [ "MY_PROJECT" ], "deliveryFormat": "json", "events": [ "lambda", "build", "edge", "static", "external" ], "secret": "MY_SECRET" } ``` The Vercel UI will show the message below in my case. <img width="317" alt="Screenshot 2024-06-02 at 19 09 58" src="upload://lWmWg61tdTbct64QVrMQblHb6s3.png"> If you do a GET request to `https://api.vercel.com/v2/integrations/log-drains`, it'll show that the log drain is only associated to one project. Amy Egan (@amyegan) · 2024-07-26 · ♥ 1 Thanks for reporting this, @jarleriksen! I'm not sure what's causing this strange behavior, so I asked the Log Drains team for help investigating. We'll keep you updated as we learn more. Amy Egan (@amyegan) · 2024-07-31 I don't have a solution yet, but wanted to let you know we are still investigating. Amy Egan (@amyegan) · 2024-08-20 · ♥ 1 The team released a fix for this. Please let me know if you continue to experience this issue :pray: Jarl Eriksen (@jarleriksen) · 2024-08-21 That's awesome to hear!