-
Notifications
You must be signed in to change notification settings - Fork 95
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
x-correlation-id noting being returned causing LogObject Error #226
Comments
I believe Avatax API has changed the HEADER in response. I was not able to figure out to disable the function call for LogObject if we can do that this will temporary solve the issues until the maintainers fix the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Friday 13th 2024 at approximately 4pm GMT
Separate websites using the Avatax SDK suddenly failed on the checkout due to a missing API Response header called: x-correlation-id
Var dumping the response showed no header value called x-correlation-id, and scanning the code i could not find anywhere that sends this header in the initial request.
I'm not 100% on this but i suspect Avalera API response has suddenly stopping including the x-correlation-id.
This is the function in LogObject.php:
private function populateCommonResponseInfo($response) { $this-> populateTotalExecutionTime(); $this-> headerCorrelationId = $response-> getHeader('x-correlation-id')[0]; $this-> statusCode = $response-> getStatusCode(); }
The text was updated successfully, but these errors were encountered: