We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reported in PX chat, but we're seeing the following error after some S2S calls:
perimeterx/internal/validators/perimeter_x_s2s_validator.rb:87:in `eval': (eval):2: syntax error, unexpected '<'
I'm guessing that the < is the opening of an HTML tag, and that for some reason PX is returning a non-JSON (maybe error) response.
<
This occurs here: https://github.com/PerimeterX/perimeterx-ruby-sdk/blob/master/lib/perimeterx/internal/validators/perimeter_x_s2s_validator.rb#L87
IMO the response body shouldn't be parsed until the response code is checked (which currently happens on the line below).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reported in PX chat, but we're seeing the following error after some S2S calls:
I'm guessing that the
<
is the opening of an HTML tag, and that for some reason PX is returning a non-JSON (maybe error) response.This occurs here:
https://github.com/PerimeterX/perimeterx-ruby-sdk/blob/master/lib/perimeterx/internal/validators/perimeter_x_s2s_validator.rb#L87
IMO the response body shouldn't be parsed until the response code is checked (which currently happens on the line below).
The text was updated successfully, but these errors were encountered: