phpclassic / php-shopify

PHP SDK for Shopify API
Apache License 2.0
568 stars 211 forks source link

Get 500 error code when put image product to shopify #306

Open dragonlord4747 opened 11 months ago

dragonlord4747 commented 11 months ago

Hi, I received an error message "Internal Server Error", error code 500 when updating product images to Shopify

PHPShopify\Exception\ApiException Object( [message:protected] => Internal Server Error [string:Exception:private] => [code:protected] => 500 [file:protected] => D:\xampp\htdocs\first_test\wp-content\plugins\test-code\sdk\ShopifyResource.php [line:protected] => 540 [trace:Exception:private] => array( array( 'file' => 'D:\xampp\htdocs\first_test\wp-content\plugins\test-code\sdk\ShopifyResource.php', 'line' => 445, 'function' => 'processResponse' 'class' => 'PHPShopify\ShopifyResource', 'type' => '', 'args' => array( array( 'errors' => 'Internal Server Error' ), 'product' ) ), array( 'file' => 'D:\xampp\htdocs\first_test\wp-content\plugins\test-code\register_test.php', 'line' => 510, 'function' => 'put', 'class' => 'PHPShopify\ShopifyResource', 'type' => '', 'args' => array( array( [product] => [....args...]

                            )
                    )
            )
    )

)

Does anyone have any ideas?

dragonlord4747 commented 11 months ago

I update about 50+ photos for 1 product