[GH-ISSUE #1344] [integration API] resource creation is broken #38661

Closed
opened 2026-06-22 01:55:07 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Esa-mimbias on GitHub (Aug 25, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1344

Hi
since 1.9.0, I can no longer create resources with IP, neither using curl no the api/docs UI

when PUTing to https://<pangolin API url>/v1/org/<orgName>/site/<siteID>/resource

return is :
{"data":null,"success":false,"error":true,"message":"Validation error: Unrecognized key(s) in object: 'siteId'","status":400,"stack":null}

using the WebUI gives same result:

Image

I also tried to create a resource with with put_org__orgId__resource but getting a 404

Any clue ?

Originally created by @Esa-mimbias on GitHub (Aug 25, 2025). Original GitHub issue: https://github.com/fosrl/pangolin/issues/1344 Hi since 1.9.0, I can no longer create resources with IP, neither using curl no the api/docs UI when PUTing to `https://<pangolin API url>/v1/org/<orgName>/site/<siteID>/resource` return is : {"data":null,"success":false,"error":true,"message":"Validation error: Unrecognized key(s) in object: 'siteId'","status":400,"stack":null} using the WebUI gives same result: <img width="1658" height="1730" alt="Image" src="https://github.com/user-attachments/assets/ce7843eb-bcc3-4f1c-8494-74009c63c873" /> I also tried to create a resource with with `put_org__orgId__resource` but getting a 404 Any clue ?
Author
Owner

@oschwartz10612 commented on GitHub (Aug 25, 2025):

Sorry for this. This is because of the new changes where the targets
have sites and not the resources. I think it was missing in the
integration API. Working on a fix now.

<!-- gh-comment-id:3221981370 --> @oschwartz10612 commented on GitHub (Aug 25, 2025): Sorry for this. This is because of the new changes where the targets have sites and not the resources. I think it was missing in the integration API. Working on a fix now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/pangolin#38661