-
Notifications
You must be signed in to change notification settings - Fork 58
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
Handle 202 status code in axios response #54
Comments
Here is a PR with the proposed fix: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Currently, an error may be thrown when calling
checkInvoiceCompliance
.Reason
Currently when checking the status code from Zatca API only 200 status code is accepted while the Zatca API may return other values such as 201 or 202.
The text was updated successfully, but these errors were encountered: