Skip to content
New issue

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

CallService to send articles : undefined index batch_id #11

Open
undevweb opened this issue Feb 16, 2019 · 1 comment
Open

CallService to send articles : undefined index batch_id #11

undevweb opened this issue Feb 16, 2019 · 1 comment

Comments

@undevweb
Copy link

undevweb commented Feb 16, 2019

When I send articles I have the following error undefined index batch_id from the file FnacApiClient/Service/Response/OfferUpdateResponse.php

$this->batch_id = $data['batch_id'];

@undevweb undevweb reopened this Feb 16, 2019
@luisarraezd
Copy link

Hi @Lymke I had that Exception too. In my case the problem was that I was sending a very long description for an offer, the max length is 255 and I was sending more than that.

Try surrounding you call with try/catch statement and capture a Symfony\Component\Debug\Exception\ContextErrorException exception then dump getContext(), maybe there you'll find more information about your error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants