We’re syncing budget data from an external planning tool to Oracle Fusion Cloud 23B using the Budget REST API. The initial load worked successfully, but subsequent synchronization runs fail with ‘Duplicate Records’ errors when trying to update existing budgets.
Our sync process sends budget line items with unique identifiers (combination of budget name, period, and account). When the same budget lines are sent in later sync runs (with updated amounts), the API rejects them as duplicates instead of updating the existing records.
Error details:
HTTP/1.1 400 Bad Request
{"errorCode": "DUPLICATE_RECORD",
"detail": "Budget line already exists"}
We need an upsert pattern (insert new records, update existing ones) but the API seems to only support inserts. The external planning system is the source of truth, so we must be able to update budget amounts when they change.
This is blocking our automated budget sync that runs weekly to refresh forecasts and allocations based on latest planning data. Manual updates through the UI work but aren’t scalable for 2000+ budget lines.