Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

magento/devdocs#: Add createCustomer mutation API errors #5961

Merged
merged 3 commits into from
Nov 11, 2019

Conversation

atwixfirster
Copy link
Contributor

@atwixfirster atwixfirster commented Nov 10, 2019

@devops-devdocs
Copy link
Collaborator

An admin must run tests on this PR before it can be merged.


Error | Description
--- | ---
`A customer with the same email address already exists in an associated website.` | Customer with a provided email in the `input`.`email` already exists.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`A customer with the same email address already exists in an associated website.` | Customer with a provided email in the `input`.`email` already exists.
`A customer with the same email address already exists in an associated website.` | The email provided in the `input`.`email` attribute belongs to an existing customer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Error | Description
--- | ---
`A customer with the same email address already exists in an associated website.` | Customer with a provided email in the `input`.`email` already exists.
`"Email" is not a valid email address.` | Value provided in the `input`.`email` has invalid email format.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`"Email" is not a valid email address.` | Value provided in the `input`.`email` has invalid email format.
`"Email" is not a valid email address.` | The value provided in the `input`.`email` attribute has an invalid format.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

`A customer with the same email address already exists in an associated website.` | Customer with a provided email in the `input`.`email` already exists.
`"Email" is not a valid email address.` | Value provided in the `input`.`email` has invalid email format.
`Field CustomerInput.email of required type String! was not provided` | The `input`.`email` attribute was omitted.
`Field "xxx" is not defined by type CustomerInput.` | The `input`.`xxx` is undefined attribute.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`Field "xxx" is not defined by type CustomerInput.` | The `input`.`xxx` is undefined attribute.
`Field "xxx" is not defined by type CustomerInput.` | The `input`.`xxx` is an undefined attribute.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Thanks, @keharper

@rogyar
Copy link
Contributor

rogyar commented Nov 11, 2019

Hi @atwixfirster. There's one more possible error:

'"input" value should be specified'

@rogyar rogyar added 2.3.x Magento 2.3 related changes Technical Updates to the code or processes that alter the technical content of the doc labels Nov 11, 2019
@atwixfirster
Copy link
Contributor Author

Hi @atwixfirster. There's one more possible error:

'"input" value should be specified'

Good catch but no. Please check - magento/graphql-ce#1052

Thank you, @rogyar

@atwixfirster atwixfirster force-pushed the api-errors-createCustomer branch from dcc1e59 to e793ea5 Compare November 11, 2019 08:50
@rogyar
Copy link
Contributor

rogyar commented Nov 11, 2019

That makes sense, thank you

@keharper
Copy link
Contributor

running tests

@keharper keharper merged commit 8a053b6 into magento:master Nov 11, 2019
@ghost
Copy link

ghost commented Nov 11, 2019

Hi @atwixfirster, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

keharper added a commit that referenced this pull request Nov 11, 2019
* Update the UI Date component documentation

* Update xml-instructions.md

 Adding alternative magic method to retrieve arguments

* Remove empty line

* Adding changes to 2.2 too

* Update adding-attributes.md

Fix name of method to plug into and clarify return type notation.

* Fix fenced code block language type

* Use JavaScript for fenced code block language

* Add newline before fenced code block

I hope this will make the linter happy

* Combine get method examples

* Added translation methods in UI component templates

* magento/devdocs#: Fix link on the “Magento payment provider gateway” page

https://devdocs.magento.com/guides/v2.2/payments-integrations/payment-gateway/payment-gateway-intro.html
https://devdocs.magento.com/guides/v2.3/payments-integrations/payment-gateway/payment-gateway-intro.html

* Reorganized templates topic

* Fixed symbolic link creation command

* magento/devdocs#: Add revokeCustomerToken mutation API errors

- https://devdocs.magento.com/guides/v2.3/graphql/mutations/revoke-customer-token.html

* EQP updates (#5918)

* set up EQP integration branch

* Update api.md

* Update auth.md

* Update auth.md

* Small formatting changes

* Decapitalized headers

* Small formatting changes

* Update files.md

* Grammar and formatting

* Add new file filtering.md

* Add filtering to the index

* Fix broken link

* Update packages.md

* Update packages.md

* Grammar and formatting

* Editorial pass

* Users.md (#5909)

* Update users.md

* Update users.md

* Update users.md

* Update users.md

* Update users.md

* Update users.md (#5915)

* Update users.md

* Update users.md

* Update filters.md

* linting corrections

* add bogus file to resolve merge conflict

* still resolving merge conflict

* deleted file again

* Revert "linting corrections"

This reverts commit c84d489.

* linting errors

* adding file again

* delete phantom file

* Apply suggestions from code review

Incorporating review comments. The line breaks are permitted, as developers may have IDE settings that are different than settings a writer typically uses.

Co-Authored-By: Jeff Matthews <[email protected]>

* Fixed cms query input (#5920)

* Grammar and formatting

* magento/devdocs#: Add createEmptyCart mutation API errors (#5881)

- https://devdocs.magento.com/guides/v2.3/graphql/mutations/create-empty-cart.html

* Replace jquery/ui usages with individual jQuery UI components (#5923)

* Replace jquery/ui usages with individual jQuery UI components

* Update custom_js.md

* Update js_practice.md

* Update custom_js.md

Correcting linting error

* Updated what's new (#5922)

* Updated what's new

* Apply suggestions from code review

* Added guidance for fixing session start (#5877)

* Added guidance for fixing session start
failures when launching Magento cloud
Docker on Windows environment

* Fixed note indentation

* Restored substep formatting

* Add attributes to ProductFilterInput

* Added attribution for contributor

* Update the documentation for ActionDelete UI component documentation

* Removed space

* Changed subheadings hierarchy level

* magento/devdocs#: Add addConfigurableProductsToCart mutation API errors

https://devdocs.magento.com/guides/v2.3/graphql/mutations/add-configurable-products.html

* Update ActionsColumns UI component

* Update Bookmarks UI component documentation

* magento/devdocs#: Add addVirtualProductsToCart mutation API errors

https://devdocs.magento.com/guides/v2.3/graphql/mutations/add-virtual-products.html

* Update ColumnsControls UI component documentation

* Adjusted the ActionsColumns component documentation

* Adjusted the ui bookmarks UI component documentation

* Fixed Examples title

* Fixed Examples title

* Fixed Examples title

* Adjusted the ActionDelete component documentation

* Grammar and formatting

* Small update

* magento/devdocs#: Add addSimpleProductsToCart mutation API errors

- https://devdocs.magento.com/guides/v2.3/graphql/mutations/add-simple-products.html

* Update Search UI component documentation

* Fixed grammar

* Added instructions for Fastly Edge Modules: Reroute to other CMS backend (#5865)

* Added instructions for using Fastly Edge Modules to reroute requests to another backend
* Updated based on review feedback
- Changed title
- Added separate "Prerequisites" section
- Cleaned up introduction and configuration procedure

* Updated manage message queues instructions (#5867)

- Inserted Manage message queues instructions to enable bulk API message processing
- Added prerequisite for RabbitMQ install
- Removed confusing statement about managing
message queues using cron jobs
- Added note and link about configuring consumers_runner
job on Cloud
Changed _Start consumers_ topic title to
_Start message queue consumers_ for consistency
with v2.3
- Removed unneeded link reference

* Small grammar change

* Small grammar fix

* Small grammar change

* Update add-virtual-products.md

Edited for grammar.

* Update add-simple-products.md

Grammatical changes

* Update add-configurable-products.md

Grammatical edits

* Update revoke-customer-token.md

* Small grammar update

* magento/devdocs#: Add addVirtualProductsToCart mutation API errors

* Enhance Commerce release info (#5953)

* Added security patches

* Removed shipping

* Editorial changes

* Added disclaimer

* Removed PWA qualification

* Removed shipping from compatibility table

* Removed Page Builder

* Markdown linting: Enable rule MD032 (lists should be surrounded by blank lines) (#5957)

* Fixed all obvious errors

* Fixed false positives

* Fix endpoint domain names

* Update MFTF datafile.

* Update migration-troubleshooting.md

Fix error in XML, ignore field should be added to <field_rules> node

* Fix the mdl version to 0.7.0 in the GH workflow

* magento/devdocs#: Add createCustomer mutation API errors (#5961)

* magento/devdocs#: Add createCustomer mutation API errors

https://devdocs.magento.com/guides/v2.3/graphql/mutations/create-customer.html

* Update create-customer.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
2.3.x Magento 2.3 related changes Partner: Atwix partners-contribution PR created by Magento partner Technical Updates to the code or processes that alter the technical content of the doc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants