Cannot update robots.txt through endpoint /ccadmin/v1/merchant/robots (Doc ID 2290980.1)

Last updated on AUGUST 02, 2017

Applies to:

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

Symptoms

If a customer is trying to use the endpoint /ccadmin/v1/merchant/robots to update the robots.txt file and they are getting back a "Status: 500" error in the response they will have to perform the following workarounds (In Solution section) to update this file. I have included samples of the request, the error in the response, and the associated error you would see in the logs for this issue.

 

Sample Request:

 

Changes

N/A 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms