Please help,
This mutation has been working for a while, but for some reason we are now getting errors
Here is the mutation.. (I tried removing the @inContext without much luck)
mutation customerActivate($country: CountryCode, $id: ID!, $input: CustomerActivateInput!)
@inContext(country: $country) {
customerActivate(id: $id, input: $input) {
errors: customerUserErrors {
...CustomerUserError
}
accessToken: customerAccessToken {
...AccessToken
}
customer {
...CustomerSummary
}
}
}
fragment CustomerSummary on Customer {
acceptsMarketing
createdAt
defaultAddress {
...AddressFull
}
displayName
email
firstName
id
lastIncompleteCheckout {
id
webUrl
updatedAt
}
lastName
phone
tags
updatedAt
}
fragment AddressFull on MailingAddress {
address1
address2
city
company
country
countryCode: countryCodeV2
firstName
formattedArea
id
lastName
latitude
longitude
name
phone
province
provinceCode
zip
}
fragment CustomerUserError on CustomerUserError {
code
field
message
}
fragment AccessToken on CustomerAccessToken {
token: accessToken
expires: expiresAt
}
fragment AddressFull on MailingAddress {
address1
address2
city
company
country
countryCode: countryCodeV2
firstName
formattedArea
id
lastName
latitude
longitude
name
phone
province
provinceCode
zip
}
{
id: 'Z2lkOi8vc2hvcGlmeS9DdXN0b21lci81ODAxMjY1MjM0MTA0',
country: 'US',
input: {
activationToken: 'd1c22e8b894954e01ae85e77e8e95b39-1645151885',
password: '54321'
}
}
and there is the response
{
"errors": [
{
"message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 311386cd-b4ea-4d48-992e-a63c6464fa3f (include this in support requests).",
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"requestId": "311386cd-b4ea-4d48-992e-a63c6464fa3f"
}
}
]
}