App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
---
## 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.
---
Aqui está a tradução:
---
Hello, I'm facing the same problem, and the strangest part is that if I install the app in my test store, this error doesn't occur. It only appears when I try to run it in my production store.
Did you make any progress? If so, could you share it? I would be very grateful!
I am getting the exact same issue, works on development store only. Renders my function extension utterly useless?
Was there any progress with this?
Hello, unfortunately not!
Hello! I have the same problem. Have you contacted support?
We also encountered the same issue and went to support yesterday. They are yet to respond with a solution.
Eventually we moved to discountCodeBasicCreate mutation. It works without errors at least for now.