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

Add fix for empty response from Xero on push invoice #174

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mattwire
Copy link
Contributor

@mattwire mattwire commented Feb 2, 2025

No description provided.

@civibot civibot bot added the master label Feb 2, 2025
return $this->getSingleton($connector_id)->Invoices($accountsInvoice);
$result = $this->getSingleton($connector_id)->Invoices($accountsInvoice);
// Note: One day it would be nice to switch to the new Xero PHP SDK method for pushing invoices.
// For some reason pushing certain invoices seems to result in a completely empty response
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mattwire on my last round of work on this I found the completely empty responses had headers that indicated the issue (throttling in the case I was looking at)

I did some stuff to look in the headers but I don't think it affected all paths

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, interesting. We can leave this open until I get chance to look at that then :-)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

2 participants