Upload URL Expiration Contract
Level 3 · node · API · Incorrect request/response contract
Scenario
Review the implementation for “Upload URL Expiration Contract”. Trace the relevant controller, service, and storage paths together and identify behavior that violates the contract.
Requirements
- Preserve the documented successful behavior - Handle failure and edge cases according to the stated contract - Keep unrelated data and behavior unchanged - Make the smallest safe correction that satisfies the contract
Acceptance criteria
- The normal success path continues to return the expected result
- The reported edge or failure case is handled according to the contract
- The fix does not introduce unintended changes to unrelated state or behavior