We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InsertProductInputRequest
insertProductInput
5054511953633
Error comes back as Error occurred during parsing: Error occurred during parsing: String field only accepts string value
Error occurred during parsing: Error occurred during parsing: String field only accepts string value
Google\Protobuf\Internal\Message line 874 gets triggered and when I output the value it's
Google\Protobuf\Internal\Message
array(1) { [0]=>string(13) "5054511953633" }
When it should be a string, but that's in the API response not the data sent so it's not something I set / can fix
Won't provide the specific product details but it's when you send gtin
$request = new InsertProductInputRequest(); $request ->setParent(ProductInputsServiceClient::accountName($this->accountId)) ->setDataSource(DataSourcesServiceClient::dataSourceName($this->accountId, $dataSourceId)) ->setProductInput($productInput); $response = $this->getProductInputClient()->insertProductInput($request);
If the product sent doesn't have a GTIN value then it all works correctly
It also occurs when you just call listProducts if you have submitted a product with a GTIN value already
listProducts
So I think there's a mapping issue somewhere making it think GTIN is an array when it should be a string
I could provide my merchant account and a specific example product if needed but obviously not on a public issue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Environment details
Steps to reproduce
InsertProductInputRequest
andinsertProductInput
5054511953633
Error comes back as
Error occurred during parsing: Error occurred during parsing: String field only accepts string value
Google\Protobuf\Internal\Message
line 874 gets triggered and when I output the value it'sWhen it should be a string, but that's in the API response not the data sent so it's not something I set / can fix
Code example
Won't provide the specific product details but it's when you send gtin
If the product sent doesn't have a GTIN value then it all works correctly
It also occurs when you just call
listProducts
if you have submitted a product with a GTIN value alreadySo I think there's a mapping issue somewhere making it think GTIN is an array when it should be a string
I could provide my merchant account and a specific example product if needed but obviously not on a public issue
The text was updated successfully, but these errors were encountered: