mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
7904c303a7
no issue - This new format allows to return additional metadata with failed import records. The data for invalid records is returned in following format: ``` { count: {count_of_invalid_records}, errors: [{ message: "Members not imported. Members with duplicate Stripe customer ids are not allowed." // message field of the error context: "Attempting to import members with duplicate Stripe customer ids." // context field of the error help: "Remove duplicate Stripe customer ids from the import file, and re-run the import." // help field of the error count: 2 // count of this specific error }] }; - Errors are grouped by their context fields because message fields sometimes can contain unique information like Stripe customer id, which would produce too many errors in case of bigger datasets. |
||
---|---|---|
.. | ||
actions_spec.js | ||
config_spec.js | ||
db_spec.js | ||
email_preview_spec.js | ||
emails_spec.js | ||
images_spec.js | ||
integrations_spec.js | ||
invites_spec.js | ||
key_authentication_spec.js | ||
labels_spec.js | ||
mail_spec.js | ||
members_spec.js | ||
notifications_spec.js | ||
oembed_spec.js | ||
pages_spec.js | ||
posts_spec.js | ||
roles_spec.js | ||
settings_spec.js | ||
slugs_spec.js | ||
tags_spec.js | ||
themes_spec.js | ||
users_spec.js | ||
utils.js | ||
webhooks_spec.js |