REST Call Using "limit" Parameter In The URL Returns With Error "400 Bad Request - URL request parameter limit cannot be used in this context."
(Doc ID 2778600.1)
Last updated on NOVEMBER 01, 2024
Applies to:
Oracle JDeveloper - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
The Application Module of an ADF application exposes its Business Object CRUD operations through REST endpoints based upon the corresponding View Object.
When deploying the application on an ADF 12.2.1.3.0 setup, the user can use the following endpoints successfully
1. http://<HOST>:<PORT>/<APPLICATION ROOT CONTEXT>/rest/<VERSION>/<BO>?limit=20 ----> returns the first 20 REST resources for the given <BO>
2. http://<HOST>:<PORT>/<APPLICATION ROOT CONTEXT>/rest/<VERSION>/<BO>/<ID> ----> returns the resource with the given <ID>
3. http://<HOST>:<PORT>/<APPLICATION ROOT CONTEXT>/rest/<VERSION>/<BO>/<ID>?limit=20 ----> returns the resource with the given <ID>
After migrating the application to an ADF 12.2.1.4.0 setup, the scenario 3. above fails with the following error
Changes
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 |
Changes |
Cause |
Solution |