-
Notifications
You must be signed in to change notification settings - Fork 3
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
Stack Level Too Deep in do_inquiry_response.rb #1
Comments
Can you strip out PHI of the response XML and share it? I can investigate from there. |
I really appreciate you looking at this. Is this what you needed?
|
It looks like this was a submission to Aetna with an invalid NPI. When I perform the same request, I get back errors. I turned the XML you provided into a test case and added one of my own. Here is one of the fixtures that gets parsed: And the test I was using this client code to test an invalid NPI submission. Does this look similar to what you are doing? What does your client code look like that handles the error?
|
Yes, that's what my code looks like. you can see it if you |
I'm not sure what is going on, with the response you provided, I get this
|
include the parameter
should throw the stack level error btw, thanks for bearing with me, i know I could've provided more concise examples...sorry |
I wasn't able to reproduce it - the info receiver comes back with expected errors. to_json isn't implemented on the info_receiver object. If you can provide a failing test case, I can take it from there. |
First off, I love the gem. Has saved me a world of work.
Works wonderfully up until Trizetto responds with a data failure of some sort.
For instance, if I pass an invalid NPI, when I go to render the response I get a
"SystemStackError (stack level too deep):" error.
I traced it back to do_inquiry_response.rb#137
Maybe it has something to do with rejectable and rejection
This make any sense? do you have any insight on it?
Thanks
The text was updated successfully, but these errors were encountered: