openfoodfacts / openfoodfacts-php

PHP wrapper for Open Food Facts
https://packagist.org/packages/openfoodfacts/openfoodfacts-php
MIT License
54 stars 35 forks source link

(https://world.openfoodfacts.net/cgi/product_image_upload.pl%60) resulted in a `500 Internal Server Error` response #43

Open teolemon opened 1 year ago

teolemon commented 1 year ago

Story

Caused by GuzzleHttp\Exception\ServerException: Server error: POST [https://world.openfoodfacts.net/cgi/product_image_upload.pl](https://world.openfoodfacts.net/cgi/product_image_upload.pl%60) resulted in a 500 Internal Server Error response:

Software error:

Too few arguments for subroutine 'ProductOpener::Products::normalize_code' at /opt/product (truncated...)            
Benoit382 commented 1 year ago

It's not a server error ?

Benoit382 commented 2 months ago

We shouldn't used the dev api on test (this api is too instable) but we could use an docker images of the server I start a PR for the refresh of the docker images I could add in a second time this one and run test on it