Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CO-1330 updates catalog endpoint docs to remove fields-do-not-match error #4961

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ The status code `400` could return the following response body. Refer to [Troubl
{
"errors": [
{
"id": "fields-do-not-match",
"message": "Fields do not match with fields on the catalog",
"id": "invalid-fields",
"message": "Some of the fields given do not exist in the catalog",
"parameters": [
"id"
],
"parameter_values": [
"restaurant2"
"restaurant1"
]
}
],
Expand All @@ -138,7 +138,6 @@ The following table lists possible returned errors and their associated troubles
| `items-missing-ids` | There are items that do not have item IDs. Check that each item has an item ID. |
| `items-too-large` | Item values can't exceed 5,000 characters. |
| `invalid-fields` | Confirm that the fields in the request exist in the catalog. |
| `fields-do-not-match` | Updated fields must match the fields in the catalog. |
| `unable-to-coerce-value` | Item types can't be converted. |
| `invalid-keys-in-value-object` | Item object keys can't include `.` or `$`. |
| `too-deep-nesting-in-value-object` | Item objects can't have more than 50 levels of nesting. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ The status code `400` could return the following response body. Refer to [Troubl
{
"errors": [
{
"id": "fields-do-not-match",
"message": "Fields do not match with fields on the catalog",
"id": "invalid-fields",
"message": "Some of the fields given do not exist in the catalog",
"parameters": [
"id"
],
"parameter_values": [
"restaurant2"
"restaurant1"
]
}
],
Expand All @@ -111,7 +111,6 @@ The following table lists possible returned errors and their associated troubles
| `items-too-large` | Character limit for each item is 5,000 characters. |
| `item-already-exists` | The item already exists in the catalog. |
| `invalid-fields` | Confirm that the fields in the request exist in the catalog. |
| `fields-do-not-match` | Fields must match the fields in the catalog. |
| `filtered-set-field-too-long` | The field value is being used in a filtered set that exceeds the character limit for an item. |
| `already-reached-catalog-item-limit` | Maximum number of catalogs reached. Contact your Braze account manager for more information. |
| `already-reached-company-item-limit` | Maximum number of catalog items reached. Contact your Braze account manager for more information. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ Le code de statut `400` pourrait retourner le corps de réponse suivant. Consult
{
"errors": [
{
"id": "fields-do-not-match",
"message": "Fields do not match with fields on the catalog",
"id": "invalid-fields",
"message": "Some of the fields given do not exist in the catalog",
"parameters": [
"id"
],
"parameter_values": [
"restaurant2"
"restaurant1"
]
}
],
Expand All @@ -132,7 +132,6 @@ Le tableau suivant répertorie les erreurs renvoyées possibles et les étapes d
| `items-missing-ids` | Il y a des produits qui n’ont pas d’ID de produit. Vérifiez que chaque produit possède un ID de produit. |
| `items-too-large` | Les valeurs de produits ne peuvent pas dépasser 5 000 caractères. |
| `invalid-fields` | Confirmez que les champs de la requête existent dans le catalogue. |
| `fields-do-not-match` | Les champs mis à jour doivent correspondre aux champs du catalogue. |
| `unable-to-coerce-value` | Les types de produits ne peuvent pas être convertis. |
{: .reset-td-br-1 .reset-td-br-2}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@ Le code de statut `400` pourrait retourner le corps de réponse suivant. Consult
{
"errors": [
{
"id": "fields-do-not-match",
"message": "Fields do not match with fields on the catalog",
"id": "invalid-fields",
"message": "Some of the fields given do not exist in the catalog",
"parameters": [
"id"
],
"parameter_values": [
"restaurant2"
"restaurant1"
]
}
],
"message": "Requête invalide"
"message": "Invalid Request"
}
```

Expand All @@ -113,7 +113,6 @@ Le tableau suivant répertorie les erreurs renvoyées possibles et les étapes d
| `items-too-large` | La limite de caractères pour chaque produit est de 5 000 caractères. |
| `item-already-exists` | Ce produit existe déjà dans le catalogue. |
| `invalid-fields` | Confirmez que les champs de la requête existent dans le catalogue. |
| `fields-do-not-match` | Les champs doivent correspondre aux champs du catalogue. |
| `filtered-set-field-too-long` | La valeur du champ est utilisée dans un ensemble filtré qui dépasse la limite de caractères pour un produit. |
| `already-reached-catalog-item-limit` | Le nombre maximum de catalogues est atteint. Contactez votre gestionnaire de compte Braze pour plus d’informations. |
| `already-reached-company-item-limit` | Le nombre maximum de produits du catalogue est atteint. Contactez votre gestionnaire de compte Braze pour plus d’informations. |
Expand Down