I got an internal error when I tried to create a discountAutomaticApp using GraphQLApp

I got an internal error when I tried to create a discountAutomaticApp using GraphQLApp

falcon0119
Shopify Partner
2 0 1

 

---

## Issue Description

### Mutation Used

```graphql
mutation {
discountAutomaticAppCreate(automaticAppDiscount: {
title: "autoDiscount",
functionId: "e3a543d8-ca93-4281-84f9-5e80e8b7dd33",
startsAt: "2022-06-22T00:00:00"
}) {
automaticAppDiscount {
discountId
}
userErrors {
field
message
}
}
}
```

### Error Response

```json
{
"errors": [
{
"message": "Internal error. Looks like something went wrong on our end.\nRequest ID: af2496b7-04b9-4b00-8eaa-b7176d8b3eaf-1719981084 (include this in support requests).",
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"requestId": "af2496b7-04b9-4b00-8eaa-b7176d8b3eaf-1719981084"
}
}
]
}
```

### Description

I encountered an internal error while attempting to create a discount using the `discountAutomaticAppCreate` mutation in GraphQL. The mutation should create an automatic discount application with the given parameters. However, instead of successfully creating the discount, I received an internal server error.

- **Request ID**: `af2496b7-04b9-4b00-8eaa-b7176d8b3eaf-1719981084`
- **Error Message**: "Internal error. Looks like something went wrong on our end."

Please look into this issue and provide guidance on how to resolve it. If additional information is required, feel free to let me know.

Thank you.

---

 

Replies 0 (0)