-
Notifications
You must be signed in to change notification settings - Fork 254
Undefined index: Content-Type #237
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
Comments
I am facing the same issue :( |
Same issue I'm also getting now |
This is duplicate of #236 where a solution is provided. Hopefully this will be fixed in the next version. |
Hi - Can one of you provide the company id for which you are getting the incorrect headers? |
I can't because of NDA but why just not simply make a Of course this is just a notice which can be hidden by adding |
Also I think this is really bad behavior when the system breaking on the log. |
Yes, we'll update the SDK to fix the lower case issue too but we were trying to solve the root cause than adding a patch here. We are unable reproduce it with any of our trial companies which makes us think this is happening for special kind of requests, hence the ask to share additional details. |
If the issue still persist, re-open this issue. |
Fix the intuit#237 and intuit#236
Uh oh!
There was an error while loading. Please reload this page.
/vendor/quickbooks/v3-php-sdk/src/Core/HttpClients/SyncRestHandler.php
270 row
Here the headers:
But in CoreConstants::CONTENT_TYPE we have
Content-Type
.Then
$httpHeaders[CoreConstants::CONTENT_TYPE]
will return error:Undefined index: Content-Type
The text was updated successfully, but these errors were encountered: