LibraryThing Barcodes "Fatal error"

DiscussãoBug Collectors

Entre no LibraryThing para poder publicar.

LibraryThing Barcodes "Fatal error"

Jan 19, 11:10 pm

Hello! I'm not sure if this is a bug or not, so I apologize if this is the wrong place to ask- but I'm attempting to use the barcodes I purchased from LibraryThing store, but I keep trying to use them and I get "Fatal error", example below:

Fatal error: Uncaught InvalidArgumentException: Invalid request body provided in /var/www/html/elasticsearch-php-5/vendor/guzzlehttp/ringphp/src/Client/CurlFactory.php:289 Stack trace: #0 /var/www/html/elasticsearch-php-5/vendor/guzzlehttp/ringphp/src/Client/CurlFactory.php(248): GuzzleHttp\Ring\Client\CurlFactory->addStreamingBody(Array, Array) #1 /var/www/html/elasticsearch-php-5/vendor/guzzlehttp/ringphp/src/Client/CurlFactory.php(203): GuzzleHttp\Ring\Client\CurlFactory->applyBody(Array, Array) #2 /var/www/html/elasticsearch-php-5/vendor/guzzlehttp/ringphp/src/Client/CurlFactory.php(30): GuzzleHttp\Ring\Client\CurlFactory->applyMethod(Array, Array) #3 /var/www/html/elasticsearch-php-5/vendor/guzzlehttp/ringphp/src/Client/CurlHandler.php(84): GuzzleHttp\Ring\Client\CurlFactory->__invoke(Array, Resource id #14) #4 /var/www/html/elasticsearch-php-5/vendor/guzzlehttp/ringphp/src/Client/CurlHandler.php(68): GuzzleHttp\Ring\Client\CurlHandler->_invokeAsArray(Array) #5 /var/www/html/elasticsearch-php-5/vendor/guzzlehttp/ring in /var/www/html/elasticsearch-php-5/vendor/guzzlehttp/ringphp/src/Client/CurlFactory.php on line 289

This easily could be user error on my part trying to set things up, but any advice and assistance is greatly appreciated. Thanks!

Jan 19, 11:18 pm

Figured it out, sorry about that! Looks like the automatic barcodes don't add the zeros necessary for the barcode to register in the search.

Jan 20, 1:06 pm

You may have figured out a work around but the you should not be getting an error like that. This is still a bug.

Jan 22, 7:35 am

>1 saturniidead: >2 saturniidead: Would you mind providing some more details so we can investigate this?

1. Which barcode label are you searching for in your catalog, and what's the number on the label itself?
2. Which record/title do you have that matching barcode number on, in your catalog? How is that barcode number entered in the "Barcode" field on LibraryThing? (With or without the leading zeros, with/without the asterisks?)
3. Are you manually searching your catalog (typing in the barcode) or are you scanning the barcode in the "Your books" catalog search box? What is your search text, exactly, coming in as? Any screenshot you can provide of your search with the error should help, here.