QuickBooks-V3-PHP-SDK icon indicating copy to clipboard operation
QuickBooks-V3-PHP-SDK copied to clipboard

Issue with Server Fault Responses and 200 Errors

Open mmoreno509 opened this issue 2 years ago • 1 comments

So we're having an issue with our application that it is not always succeeding in transferring invoices to quickbooks, upon further inspection I found this line of code:

https://github.com/intuit/QuickBooks-V3-PHP-SDK/blob/a4139a9cc439a5c03edec070d56344b1dc82056f/src/Core/Http/Serialization/XmlObjectSerializer.php#L124

The API documentation here mentions Faults that could be included in a 200 ok response: https://developer.intuit.com/app/developer/qbo/docs/develop/troubleshooting/error-codes

our problem is that we are getting a 200 ok, and assuming that everything in quickbooks went as expected, but it doesn't.

There are Fault errors that are not being reported through the SDK as a result of this line right here. is there anyway other than forking and removing that line that we could capture those server fault error messages?

mmoreno509 avatar Jul 29 '21 03:07 mmoreno509

can anyone from the intuit team even respond to this?

javabudd avatar Sep 30 '21 20:09 javabudd