My Oracle Support Banner

REST API Call from SSE Returns "Buffer","data":[] (Doc ID 2513409.1)

Last updated on MARCH 16, 2020

Applies to:

Oracle Commerce Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Call REST API from SSE returns buffer data on production environment, on other environments the same API is working as per expectation.

1. Call the API on stage environment and it returns correct response with data

GET
https://ccstore-stage-xxxx.oracleoutsourcing.com/ccstorex/custom/test-price-ccstore

Response:
Error object: null
Error object: null
Data object: [object Object]
Data object: {"skuPrices":[{"salePrice":null,"skuId":"NUM_CAM","listPrice":269}],"links":[{"rel":"self","href":"https://ccstore-stage-xxxx.oracleoutsourcing.com/ccstore/v1/prices/prices01"}],"list":269,"priceRange":false}


2. Call the API on production environment and it returns buffer data

GET 
https://ccstore-prod-xxxx.oracleoutsourcing.com/ccstorex/custom/test-price-ccstore


In response Data Object:{"type":"Buffer","data":[]} is shown

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.