Hello everyone,
I get the following error when trying to retrieve the url:
{
"data": null,
"errors": [
{
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"requestId": "83b3c022-efea-44a4-9a87-28ff2d276375-1740643605"
},
"message": "Internal error. Looks like something went wrong on our end.nRequest ID: 83b3c022-efea-44a4-9a87-28ff2d276375-1740643605 (include this in support requests)."
}
]
}
Here is my query:
string sQuery = @"
mutation {
stagedUploadsCreate(input: {
resource: BULK_MUTATION_VARIABLES,
filename: ""customers.jsonl"",
mimeType: ""text/jsonl""
}) {
stagedTargets {
url
}
}
}";
Here is the API call:
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("X-Shopify-Access-Token", sAccessToken);
var jsonPayload = $"{{\"query\":{System.Text.Json.JsonSerializer.Serialize(query)}}}";
var requestBody = new StringContent(jsonPayload, Encoding.UTF8, "application/json");
var vURI = $"https://{sShopName}.myshopify.com/admin/api/2025-01/graphql.json";
var response = await client.PostAsync(vURI, requestBody);
var vResponseBody = await response.Content.ReadAsStringAsync();
The response contains a 200:
I hope I can be helped with the request id. Thank you very much!