500 Internal Server Error with REST API During Product Update with Multiple Images

I am encountering a 500 Internal Server Error when performing PUT or POST requests to create or update a product using the REST API. The issue arises when the request includes a large number of images. The images are accessible and are within the API’s media limits. If I resize the images to 1x1 pixels, the request sometimes succeeds with a 200 response code. Additionally, I can occasionally send 4-5 images at 1200x1200 pixels without issues, but more often than not, the request fails. Does anyone know why this is happening?

This is an example:

{
    "product": {
        "title": "Emily Lounge Chair",
        "variants": [
            {
                "sku": "NCL16633-157-282",
                "option1": "Anthracite",
                "barcode": "5740011664123",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL16633-11-282",
                "option1": "Black",
                "barcode": "5740011664109",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL16633-184-282",
                "option1": "Cappuccino",
                "barcode": "5740011667421",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL16633-183-282",
                "option1": "Graphite",
                "barcode": "5740011664116",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL16633-22-282",
                "option1": "Ivory",
                "barcode": "5740011667407",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL16633-34-282",
                "option1": "Light Grey",
                "barcode": "5740011664093",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL16633-80-282",
                "option1": "Pearl",
                "barcode": "5740011667391",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL16633-1-282",
                "option1": "Taupe",
                "barcode": "5740011667414",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL16639-352-282",
                "option1": "Honey",
                "barcode": "5740011668015",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL16639-140-282",
                "option1": "Snow White",
                "barcode": "5740011668008",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Black Beech"
            },
            {
                "sku": "NCL5179-157-282",
                "option1": "Anthracite",
                "barcode": "5740011615989",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Oak"
            },
            {
                "sku": "NCL5179-11-282",
                "option1": "Black",
                "barcode": "5740011615996",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Oak"
            },
            {
                "sku": "NCL5179-184-282",
                "option1": "Cappuccino",
                "barcode": "5740011616009",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Oak"
            },
            {
                "sku": "NCL5179-183-282",
                "option1": "Graphite",
                "barcode": "5740011616016",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Oak"
            },
            {
                "sku": "NCL5179-22-282",
                "option1": "Ivory",
                "barcode": "5740011616023",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Oak"
            },
            {
                "sku": "NCL5179-34-282",
                "option1": "Light Grey",
                "barcode": "5740011616030",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Oak"
            },
            {
                "sku": "NCL5179-80-282",
                "option1": "Pearl",
                "barcode": "5740011616047",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Oak"
            },
            {
                "sku": "NCL5179-1-282",
                "option1": "Taupe",
                "barcode": "5740011616054",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 14.3,
                "inventory_policy": "continue",
                "option2": "Oak"
            },
            {
                "sku": "NCL5187-352-282",
                "option1": "Honey",
                "barcode": "5740011638292",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            },
            {
                "sku": "NCL5187-140-282",
                "option1": "Snow White",
                "barcode": "5740011660002",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            },
            {
                "sku": "NCL5201-157-282",
                "option1": "Anthracite",
                "barcode": "5740011647805",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            },
            {
                "sku": "NCL5201-11-282",
                "option1": "Black",
                "barcode": "5740011647812",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            },
            {
                "sku": "NCL5201-184-282",
                "option1": "Cappuccino",
                "barcode": "5740011647829",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            },
            {
                "sku": "NCL5201-183-282",
                "option1": "Graphite",
                "barcode": "5740011647836",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            },
            {
                "sku": "NCL5201-22-282",
                "option1": "Ivory",
                "barcode": "5740011647843",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            },
            {
                "sku": "NCL5201-34-282",
                "option1": "Light Grey",
                "barcode": "5740011647850",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            },
            {
                "sku": "NCL5201-80-282",
                "option1": "Pearl",
                "barcode": "5740011647867",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            },
            {
                "sku": "NCL5201-1-282",
                "option1": "Taupe",
                "barcode": "5740011647874",
                "inventory_management": "shopify",
                "inventory_quantity": 0,
                "price": 3329.0,
                "compare_at_price": null,
                "weight": 10.0,
                "inventory_policy": "continue",
                "option2": "Walnut"
            }
        ],
        "published": true,
        "handle": "NC16639-5187-16633-5179-5201",
        "options": [
            {
                "name": "Color",
                "values": [
                    "Anthracite",
                    "Black",
                    "Cappuccino",
                    "Graphite",
                    "Ivory",
                    "Light Grey",
                    "Pearl",
                    "Taupe",
                    "Honey",
                    "Snow White",
                    "Anthracite",
                    "Black",
                    "Cappuccino",
                    "Graphite",
                    "Ivory",
                    "Light Grey",
                    "Pearl",
                    "Taupe",
                    "Honey",
                    "Snow White",
                    "Anthracite",
                    "Black",
                    "Cappuccino",
                    "Graphite",
                    "Ivory",
                    "Light Grey",
                    "Pearl",
                    "Taupe"
                ]
            },
            {
                "name": "Legs",
                "values": [
                    "Black Beech",
                    "Black Beech",
                    "Black Beech",
                    "Black Beech",
                    "Black Beech",
                    "Black Beech",
                    "Black Beech",
                    "Black Beech",
                    "Black Beech",
                    "Black Beech",
                    "Oak",
                    "Oak",
                    "Oak",
                    "Oak",
                    "Oak",
                    "Oak",
                    "Oak",
                    "Oak",
                    "Walnut",
                    "Walnut",
                    "Walnut",
                    "Walnut",
                    "Walnut",
                    "Walnut",
                    "Walnut",
                    "Walnut",
                    "Walnut",
                    "Walnut"
                ]
            }
        ],
        "body_html": "<p>Welcome nature into your home with our exclusive Emily Lounge Chair - a piece of furniture that exudes both style and elegance. This Lounge Chair is designed to provide you with a luxury and comfort experience like no other. Our Emily Armchair is upholstered in the most beautiful sheepskin from New Zealand, which are not only incredibly soft but also add a unique texture and warmth to your decor.</p>\n<p>This Lounge Chair is more than just furniture; it's an investment in aesthetics and comfort. The elegant combination of the exquisite lambskin pelts and the sturdy wooden legs allows you to enjoy hours of relaxation in a chair that is both beautiful to look at and comfortable to sit in.</p>\n<p>It fits perfectly in the living room as a unique statement piece, in your office corner as a functional work of art, or even in the hallway, adding a touch of nature to an otherwise forgotten space. You have countless opportunities to incorporate this armchair into your decor.</p>\n<p>And if you want to complete the natural look, don't hesitate to check out our matching ottoman. Together, they create the ultimate expression of comfort and elegance.</p>\n<p>Treat yourself to the pleasure of sitting in our Emily Lounge Chair and experience how it can transform your everyday life with a sense of luxury and a connection to nature. Order your own Emily Lounge Chair today and get ready to embrace nature with open arms.</p>",
        "product_type": "Furniture",
        "status": "active",
        "vendor": "Natures Collection",
        "images": [
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9kODQyMjUyZi1lMjYzLTQ0MTYtOGEwMi01YmRkNjI5NTUxNjMuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9kNzhiYmY5Ni02NzlmLTQyNzgtOWU3NC1mMDI0NGE4ZGE1OGUuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9hNTczMDQzOC1hMDBjLTQ2ODktODA4OC0zNjdmODgwNWZhOWYucG5n.png"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8zNTIxM2JjMC05NWY4LTRlYmItOGE2MC1hOWM1MmEyNGJmOTAucG5n.png"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi80YzNhY2Y3Yi0xMDAyLTQ0YWMtYTk0Ny1hN2FlODdjMDhjZGIucG5n.png"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi84NjQwZDAyZS1kMzlhLTQyN2ItOTcxYi1jOTdlMzA5MzI1ZGEucG5n.png"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi80NzJmYzVlMC0wYzI5LTRiYWUtOTBmMC03YWQ0MDM3NjU1YTYuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8zNjYwMDUwNS00NzJkLTRlZmItOGZlMC0zOWUzYzFiZTQ1YWQucG5n.png"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9iYzllOTI0OS1iZDM0LTRlMmMtOTVlOS01ODgyM2EwNGExZjYuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi82ZDZkOGExMC05Nzc2LTRmMjUtYjg0OC0yMzFmMmYzZGE0NWUuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi83MjJiNzkxMy1iMzNlLTRiNzYtODcyYy04OThiMWM1Y2Q0YTMuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8yNmY1MzJjNC03ZDY4LTRiOWQtOTNkYi1hMjRjOTQ5ZTBhOTQuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi81YjZmZmI3ZC1lYjk4LTQzOTEtYWYyYy1mYzQ5Y2Y5ZTQyODMuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi83ZTVhYmRhMy1iYTEwLTQ4N2ItODMwNi1iNmI0OTYzYmZhYjcuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9hZjI3MzE0YS1hNDY3LTRjZTMtYTIyMS05OTFkNzdjOTU2MzIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9jMzc0MjI4ZS01YzcyLTQ5MDAtYjI5Ny1iOWQ3YTc4MzY4OTIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9kNTFmZDJiMi1hMGNmLTQ3YTQtYTJhZS1jYjE5ZDQwMGZhOTUuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8wMzJiZmUwOS1hMmJjLTQ4NjctOWE2Yy0zYmM4NzQ1ZTVjNTguanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi84ZjNlYWJjNS05ODA4LTQ5YzAtODAwMi0yOThhYzUwMTYyN2EuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9hZDUzNTZiMS02YTZmLTRhOWMtYTg5ZS0xOGRkODRiOTkwZDkuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9iMTYzMzU4My0zZTlmLTQ5ZWYtYTM1ZC1iMzYzYjAzMjgzMGIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi81ZWZlNDM0Ny0yZmNkLTQ0YjAtYTYzZC01YzJjZmNlMmVjOWUuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9iMWRiNGQxMS1iNDZlLTQxMGYtYjYyNi1iNjljNWNlOTdiYmQuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8yYWY4ZmQ1YS1mN2RkLTRkYzUtOTZiZi03ZWNhMmExMWZmOTYuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi83YzI0ZjhjMS0yYWIxLTQ0ZjgtYjRiZi0xNTFmN2FhZGE1ZDIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi82ZDA3MjhlYi05YWQ5LTQyYjQtYTBjYy1iYWFjMzVhMjUxZDIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi83YTc4MmM4ZC0xN2U5LTRkZTAtYWQ0YS05MWJkMTViOTM1NDkuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8xOWM0NzVmNS1iOTc1LTRiODMtODRmMy05MGI5ZTNiM2NiNTcuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi80Yjk1YjU2Yi1kNTEwLTQ4MTQtOTVjMi1iMjVkMmYwN2E0ZmEuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9jZGQ5NDhjOS01M2I0LTQ2N2MtYTIyZC1iOTM5NTYwZDhjMTguanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9jY2VkZWQzZi05MDE4LTRiMjctOGNkZi00MzFlNjliODdmNDkuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi80Mzk3N2JkMi05ZmQ2LTQwMjItYjBkYS00NDZjNzM5MGZhYTYuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi81M2QzMmYzNC1mY2QxLTQ3MjYtYWIwMi0zOGJhYmIwMGRmMWYuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8yM2U0NjE2MS1lYmE5LTRkODctODY0Mi1iYTdiMTZlZGJlNGUuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8zZjAwYjBlYS1lMjY0LTQ0NWYtOTk2Ni0zMzIwYzMwZmVkNmIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9iYmQ5OTA0Ni0wZGFmLTQ2ZDgtYmFkOS02ODhhNzA4ZGVlNjYuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi80OTBiM2FkOC00ODYyLTQyNmMtOWZkOC00Y2EzODc4ZDgyMDkuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi83ODMwNmFjYy1hN2I2LTQ5Y2ItOTc0ZC1lZjMzNmVkODQ0OWIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi85MTMxMTI1MC1hOGRjLTQ0MWMtODRlMy1kMzBlNzQxYmVkMmYuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9mNTBhN2FhZi0yNDNlLTQ5YjQtOGVlNi0xMTczYmFmOWEwYzYuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi85ZjY0YzRjMy1kNDFjLTRlMjgtOTcwNi0yYmVkZGY2NGY4NDIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9kZjJmNTYxNS0wNjEzLTQ2OWUtODgzMC05YzI1YzU3MmNiM2EuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi83OWI0OGI2OC1hMzAzLTQ5MmUtYjQyNS1iY2YzYTU1NzY1OWQuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi84MDQ5MjMxNC00ODllLTQ0MjctODIwNi1jYzE3Yzc1NTc1NDguanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8yN2M1MzQ0OS1lN2Q4LTRhZmUtOTc0ZC05Y2NjZDYyYmZjZTIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi84MGM4MTZkYi04ZjFlLTQ5MDktOTRjZi1iY2E5MmYzZWU3M2EuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9mNTRhOWUxMC0zOWMxLTRkMWMtOTZhNC1kNTc5NzUxNGQ0MWMuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9hMTk1MGQ2OC01NWFmLTQyYmQtOGVjMi0zYTVmYzBmYWU2YTEuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi83NDllZTkzOS1jZDA0LTQ3YzYtODlkZC05YWUwMGY1OTgzNWIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi83YTNkMjlhNi04MzlmLTRlYjQtODU4My1kODA5MGQ2NmJjZTQuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8wM2Q5NDQ3ZS0zNTNhLTQwYjYtYjg5Yy0wNmU5MTI1Y2MyNzcuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8zZDVkOTQ5ZC03Y2MxLTQ0NzYtOWIzZi03OGFiMDFmM2ZhMWUuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi8xNGY1ODg0Ny1jMGQyLTQyYzgtYTY3OC0yNWQ2ZmZjODI3NWYuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9hNzcwYWRhNC1iOGIyLTRkZmQtYWZmNi1lOTg0ZTRlMjAxMGEuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi84ZjNkZWMxMC00N2FmLTRiNDktODVkMC1kZTJjNTMyYzhkNTAuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi85ODYwMDRlNi1mYWI1LTQ4MjEtOGEzNi0zMGVhNDkxOGZlNzUuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9kZWZlMmQ4ZC02MjlkLTQ4OWEtYjQ4NC04OWM3ZjY1MzMyZGEuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9iZGU5NWE4OS01MTE5LTRmMjEtOWZmOC0wZDI3OTc4OTU5ZTguanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi85ZGM2OGFjNi0yOGE1LTQ0ZTAtOWE3My03MTJhMjUwOTAxYjIuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi85ZmMwZDJiNS05NDhlLTQyZmMtODdlNC03YmEyNjdmNjc0OTguanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi82NDBjODgyYi1hNGYwLTQxYTUtYWYyMi1kMmQzNmE5NTMzYzguanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9iOGJhM2Y0My00ZDc4LTRhZWUtOTZjOC1jY2JmNmQ3NDY2YjQuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi83NzY2NDZkYy0xOTM1LTRjOWYtYjdlOS0yNjA5MjIwNzRiMzMuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi9hODUxZjI3ZS0yNDBmLTRhNTctYmIwMC01YmYzM2EzNzE5MmEuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi84ODgyMDI5YS0yZTZhLTRjZmUtYjAxZS05Yjc0YTIzYTNlYmUuanBn.jpg"
            },
            {
                "src": "https://***/images/fit/1200/1200/sm/cGVyZmlvbi85NmI4YTM5NC0yOWI5LTQxMjktYmViMy1kZGFkZWRkYmEwZjMuanBn.jpg"
            }
        ],
        "metafields": []
    }
}

I am also encountering similar issues, only 500 Internal Server Error but no detailed response for debugging purpose. I’ve tried 2000x2000, 1200x1200 image sizes and both returning the same result.

Hopefully will get an answer for this soon as I have a customer site on production and the products in promotions are missing images now. Thanks!