We are encountering an issue with the Storefront API. The same code base is used for both Android and iOS. However, only on iOS we occasionally receive a response containing INTERNAL_SERVER_ERROR with the message “Looks like something went wrong on our end.” Meanwhile, the exact same API requests on Android return data as expected (status code 200 and valid JSON in the data field).
Below is a summary of the situation, along with relevant logs. We are using Storefront API version 2024-10.
1. Description of the Issue
When making requests to the Storefront API from iOS, we intermittently get an error response:
"errors": [
{
"message": "Internal error. Looks like something went wrong on our end.\nRequest ID: 7550b8fa-b7cf-49aa-a1f8-306a394ba444-1737717482 (include this in support requests).",
"extensions": {
"code": "INTERNAL_SERVER_ERROR",
"requestId": "7550b8fa-b7cf-49aa-a1f8-306a394ba444-1737717482"
}
}
]
The above error message references the request ID:
7550b8fa-b7cf-49aa-a1f8-306a394ba444-1737717482
On Android devices, the same or very similar requests consistently return the correct data (status code 200 with the data JSON object).
- Additional Context
We are build a single application for both iOS and Android.
The Storefront Access Token and API endpoints are the same.
This error only occurs on iOS and happens intermittently. Sometimes once it fails, it continues to fail; other times it succeeds and then continues succeeding.
Request
Could you please review the logs associated with the request ID 7550b8fa-b7cf-49aa-a1f8-306a394ba444-1737717482 to see if there is any indication of what triggered the INTERNAL_SERVER_ERROR? If you need additional information, please let me know.