My Oracle Support Banner

ChangePackage Api Is Giving 404 Error Response (Doc ID 2884971.1)

Last updated on JULY 25, 2022

Applies to:

Oracle Digital Experience for Communications - Buying Experience - Version 11.13.22.04.0 and later
Information in this document applies to any platform.

Symptoms

On : 11.13.22.04.0 version, REST API

ACTUAL BEHAVIOR
---------------
Customer is performing an upgrade scenario from Personal Package A to Personal Package B, the migration rules are setup in the LaunchX and an asset has been created for Personal Package A in BuyingX

Whilst calling changePackage call customer is getting below error:

=Asset Call
{{fabricURL}}/api/productInventory/v4/product?ownerAccount.id=88-XXX&expand=product

=changePackage Call (tried different id's from the productinventory response and replaced it to {{productOrderID}} varaible but in all cases it is giving same response"
{{fabricURL}}/api/productInventory/v4/product/{{productOrderID}}/changePackage
Header: Target-System: Oracle Buying

=Response
{
  "code": "fabric-2",
  "reason": "No corresponding routing solution found",
  "message": "No corresponding routing solution found for : productInventory/v4/product/88-1YS5UJ/changePackage",
  "referenceError": null,
  "status": null
}


EXPECTED BEHAVIOR
-----------------------
Expect not to get errors in the API calls

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Set up Migration Rule in Launch
2. Asset is created in Buying
3. Call APIs:

=Asset Call
{{fabricURL}}/api/productInventory/v4/product?ownerAccount.id=88-XXX&expand=product

=changePackage Call 
{{fabricURL}}/api/productInventory/v4/product/{{productOrderID}}/changePackage


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.