BUG: Newly created requests in Ombi are not shown in requests tab #42

Closed
opened 2026-05-23 10:29:44 +01:00 by Gandalf · 7 comments
Owner

Problem:
When creating a request in Ombi, the request does not appear in the requests tab as expected

To replicate:
Create a request in Ombi for the current user. Sort requests tab by newest to oldest. Request does not appear.

**Problem:** When creating a request in Ombi, the request does not appear in the requests tab as expected **To replicate:** Create a request in Ombi for the current user. Sort requests tab by newest to oldest. Request does not appear.
Gandalf added the Kind/Bug
Priority
Medium
3
labels 2026-05-23 10:29:44 +01:00
Author
Owner

Resolved in v1.7.6. Implemented a force cache-bypass upon receiving webhooks or manual requests reload.

Resolved in v1.7.6. Implemented a force cache-bypass upon receiving webhooks or manual requests reload.
Gandalf reopened this issue 2026-05-23 20:32:49 +01:00
Author
Owner

Investigating: Identified that the webhook payload is being rejected with 400 Bad Request because 'NewRequest' is not in the valid/ombi allowed event type sets. Starting the fix now.

Investigating: Identified that the webhook payload is being rejected with 400 Bad Request because 'NewRequest' is not in the valid/ombi allowed event type sets. Starting the fix now.
Author
Owner

Resolution: Added 'NewRequest' to the backend allowed event type sets (VALID_EVENT_TYPES and OMBI_EVENTS) in server/routes/webhook.js. This allows the backend to successfully accept and process the NewRequest webhook payload, fetching the latest request list from Ombi and refreshing the cache accordingly. Additionally, added a complete integration test suite in tests/integration/webhook.test.js that verifies secret validation, input checks, duplicate/replay protection, and cache refresh logic. All tests are passing successfully.

Resolution: Added 'NewRequest' to the backend allowed event type sets (VALID_EVENT_TYPES and OMBI_EVENTS) in server/routes/webhook.js. This allows the backend to successfully accept and process the NewRequest webhook payload, fetching the latest request list from Ombi and refreshing the cache accordingly. Additionally, added a complete integration test suite in tests/integration/webhook.test.js that verifies secret validation, input checks, duplicate/replay protection, and cache refresh logic. All tests are passing successfully.
Gandalf reopened this issue 2026-05-23 20:49:32 +01:00
Author
Owner

Issue reopened. Investigated Ombi payload casing and applied a fix to handle PascalCase properties like NotificationType, which C#/.NET applications often send instead of camelCase.

Issue reopened. Investigated Ombi payload casing and applied a fix to handle PascalCase properties like `NotificationType`, which C#/.NET applications often send instead of camelCase.
Author
Owner

Fix released in v1.7.8. Commit: 9548eb41f5

Fix released in v1.7.8. Commit: 9548eb41f5a1b0d1172d29ae3ee92d3d884edae4
Gandalf reopened this issue 2026-05-23 20:59:13 +01:00
Author
Owner

Fix correctly released in v1.7.9. Resolving commit: d4ee3b8ef7

Fix correctly released in v1.7.9. Resolving commit: d4ee3b8ef7278362f7986d52e6861b21a66711e0
Gandalf reopened this issue 2026-05-24 10:21:34 +01:00
Author
Owner

Resolved in commit 9491948ec9.

Resolved in commit 9491948ec966a1b92f1750077cbbc72b973c7979.
Gandalf added the Area/Proxy label 2026-05-28 11:58:28 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Gandalf/sofarr#42