You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SDK you're using (please complete the following information):
Version [e.g. 2.3.10]
Version 3.33
Describe the bug
A clear and concise description of what the bug is.
When updating my API Wrapper I was testing a call to get a random bank transfer.
I was calling the wrong path (BankTransaction instead of BankTransfer) but passing a bank transfer guid.
When this was called I was getting an ApiException from the ApiClient code throw new ApiException(500, e.Message); of "Unexpected character encountered while parsing value: T. Path '', line 0, position 0."
I would expect a clean "item not found" response from your ApiClient call when it received "The resource you're looking for cannot be found" but it does not
It should detect a StatusCode = "NotFound" and continue .
To Reproduce
Steps to reproduce the behavior:
Call the BankTransaction endpoint with a Guid that does not exist. I have tested not found items with other endpoints and they are the same issue
Expected behaviour
A clear and concise description of what you expected to happen.
Return the correct error response as "Not Found"
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Not sure if this has always been this way
The text was updated successfully, but these errors were encountered:
SDK you're using (please complete the following information):
Describe the bug
A clear and concise description of what the bug is.
When updating my API Wrapper I was testing a call to get a random bank transfer.
I was calling the wrong path (BankTransaction instead of BankTransfer) but passing a bank transfer guid.
When this was called I was getting an ApiException from the ApiClient code
throw new ApiException(500, e.Message);
of "Unexpected character encountered while parsing value: T. Path '', line 0, position 0."I would expect a clean "item not found" response from your ApiClient call when it received "The resource you're looking for cannot be found" but it does not
It should detect a StatusCode = "NotFound" and continue .
To Reproduce
Steps to reproduce the behavior:
Call the BankTransaction endpoint with a Guid that does not exist. I have tested not found items with other endpoints and they are the same issue
Expected behaviour
A clear and concise description of what you expected to happen.
Return the correct error response as "Not Found"
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Not sure if this has always been this way
The text was updated successfully, but these errors were encountered: