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

Yet another Ecommerce Bridge Sync Error endpoint #53

Conversation

W1ldPo1nter
Copy link
Contributor

@W1ldPo1nter W1ldPo1nter commented Aug 7, 2019

This PR mainly introduces a method to use yet another endpoint to query sync errors of the Ecommerce Bridge API. I found that the other two endpoints that generally serve a similar purpose cannot be used in conjunction with OAuth (even though the docs did mention it at the time), which I reported to HubSpot. A few weeks later, the docs suddenly list a third endpoint that can only be used with OAuth tokens.

So now there 3 endpoints and they all only work with different kinds of authentication. 🤷‍♂️ This is why I also added checks for the used auth type to the client whenever one of these methods is called. Hopefully this will help others to avoid the pain I went through to figure this out.

@jpetrucciani
Copy link
Owner

Thanks for the explanation and fixes! That's quite annoying from HubSpot.

I'll review/merge and hopefully get a release out soon!

@jpetrucciani jpetrucciani merged commit 4891637 into jpetrucciani:master Aug 7, 2019
@jpetrucciani
Copy link
Owner

This is now live on pip as version 3.2.24!

Thanks again for your contributions! 😄

@W1ldPo1nter W1ldPo1nter deleted the feature/bridge_error_endpoint branch August 8, 2019 07:16
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

Successfully merging this pull request may close these issues.

None yet

3 participants