My Oracle Support Banner

Internal Server Error While Accessing OCDS Store Inventory REST Service Using Offsetkey Parameter (Doc ID 2800732.1)

Last updated on SEPTEMBER 10, 2021

Applies to:

Oracle Retail Integration Cloud Service - Version NA and later
Information in this document applies to any platform.

Symptoms

When Store Inventory REST service is called with offsetkey parameter,
500 internal server error is returned

This issue only occurs for specific offsetkey (item/loc combinations)

Error:

500 Internal server error is thrown with the following description:
An unexpected error with the following message occurred: Header:Error-Reason Cannot contain CRLF Characters


Steps:
1) Try to retrieve store inventory via OCDS Rest service with the below request:
https:///ords/ocds/omnichannel/v2/inventory/store?nodelevel=STORE&nodeid=13&offsetkey=13,xxxxxxxxxxx&limit=2&since=2021-04-12T00:00:00
Received the Error as above.

2. Change the offsetkey to any other item/location, for example:
https:///ords/ocds/omnichannel/v2/inventory/store?nodelevel=STORE&nodeid=13&offsetkey=2,xxxxxxxx&limit=2&since=2021-04-12T00:00:00

The service works fine and returns a response.

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
References


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