Retail Search Product Catalog Import using Rest API

10 views
Skip to first unread message

Lankapothu Devendra Reddy

unread,
Jun 9, 2022, 5:12:17 PMJun 9
to cloud-recommendations-users
Hi,

I am trying to import the product catalog json from the Cloud Storage bucket.
After giving gcs file path getting below error.
Request URL:
Body:
{
  "inputConfig": {
    "gcsSource": {
      "inputUris": [
        "gs://test-bucket/retailSearchProductFeed_1654751971984.json"
      ]
    }
  },
  "errorsConfig": {
    "gcsPrefix": "test-bucket"
  }
}

RESPONSE:

{
    "error": {
        "code": 400,
        "message": "Path: ddsa-test-bucket does not start with gs://",
        "status": "INVALID_ARGUMENT"
    }
}


1. Tried with by removing the gs://


Reply all
Reply to author
Forward
0 new messages