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
Currently when we have a post response variable configured, that expect a specific response format like res.body.data.id - it will fail whenever that particular format is not found.
There are cases where that format may be missing, for example due to expired token - that results with a different response from the API we call.
However, right now, with the variable configured, Bruno will show: Error invoking remote method 'send-http-request': TypeError: Cannot read properties of undefined (reading 'id')
instead of the actual response. To see the actual response the only way is to disable the variables(s) and call the endpoint again.
This is how it looks in app:
Suggestion
When post response variables are in use, but the response does not return what the variable expects, it should still show the actual response. The error of the variable should be showed in a separate tab - similar to how test assertions are working - that a failed test does not replaces the response, but shows the information in a separate tab.
My apologies if this is somewhere mentioned already, but I couldnt find similar request with my search phrases.
The text was updated successfully, but these errors were encountered:
fixusebruno#2005
- display post request variable evaluation errors in a toast, each individual variable error on a new line
- display the response body (was previously replaced by the an error "Error invoking remote method 'send-http-request': ..."
fixusebruno#2005
- display post request variable evaluation errors in a toast, each individual variable error on a new line
- display the response body (was previously replaced by the an error "Error invoking remote method 'send-http-request': ..."
Problem
Currently when we have a post response variable configured, that expect a specific response format like
res.body.data.id
- it will fail whenever that particular format is not found.There are cases where that format may be missing, for example due to expired token - that results with a different response from the API we call.
However, right now, with the variable configured, Bruno will show:
Error invoking remote method 'send-http-request': TypeError: Cannot read properties of undefined (reading 'id')
instead of the actual response. To see the actual response the only way is to disable the variables(s) and call the endpoint again.
This is how it looks in app:
Suggestion
When post response variables are in use, but the response does not return what the variable expects, it should still show the actual response. The error of the variable should be showed in a separate tab - similar to how test assertions are working - that a failed test does not replaces the response, but shows the information in a separate tab.
My apologies if this is somewhere mentioned already, but I couldnt find similar request with my search phrases.
The text was updated successfully, but these errors were encountered: