My Oracle Support Banner

Procedure SearchPartsContinue returns error CODE_PROCEDURE_PARAM_VALUE_INVALID (Doc ID 3005895.1)

Last updated on FEBRUARY 22, 2024

Applies to:

Oracle Fusion Cloud Field Service - Version 23.D.13 and later
Information in this document applies to any platform.

Symptoms

  PROBLEM STATEMENT: searchPartsContinue procedure in plugin framework returns error.
  ERROR: CODE_PROCEDURE_PARAM_VALUE_INVALID
  ACTUAL BEHAVIOR: Error CODE_PROCEDURE_PARAM_VALUE_INVALID is returned
  EXPECTED BEHAVIOR: No error should be returned.

  RECREATE STEPS:

1. Login to environment.

2. Open any activity details and click on the plugin.

3. run pay below payload:

{
  "apiVersion": 1,
  "callId": "searchModelMaster",
  "method": "callProcedure",
  "procedure": "searchParts",
  "params": {
  "query": "search criteria",
  "limit": 1000,
  "cacheOnly": true
  }
}

4. Replace searchId from above request result and run below payload:


{
  "apiVersion": 1,
  "callId": "searchModelMaster",
  "method": "callProcedure",
  "procedure": "searchPartsContinue",
  "params": {
  "searchId": 1
  }
}

5. Response received (this is a fragment). SearchId is returned as 1 and isContinueAvailable as true:


{
  "apiVersion": 1,
  "method": "callProcedureResult",
  "callId": "searchModelMaster",
  "resultData": {}
"isContinueAvailable": true,
  "source": "cache",
  "searchId": 1
}

6. Replace searchId from above request result and run below payload for the procedure searchPartsContinue:


{
  "apiVersion": 1,
  "callId": "searchModelMaster",
  "method": "callProcedure",
  "procedure": "searchPartsContinue",
  "params": {
  "searchId": 1
  }
}


7. Error received:


[
  {
  “type”: “TYPE_PROCEDURE_PARAM”,
  “code”: “CODE_PROCEDURE_PARAM_VALUE_INVALID”,
  “procedure”: “searchPartsContinue”,
  “paramName”: “searchId”
  }
]

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.