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
Using the ConnectionService, accept a connection request using connectionService.acceptConnection(userId), for a user with a connection that has StatusEnum ACCEPTED.
Expected Result:
To throw the following error once:
An unknown error occurred while trying to connect to https://[...]:443/pod. Please check below for more information: {"code":500,"message":"request to userConnections/[...] failed with status 422, message:Status change requested is not consistent with current status."}
Actual Result:
Instead, the RetryWithRecovery kicks in and the connection service keeps trying to accept, each time throwing the same error
Environment:
symphony-bdk 2.2.1
The text was updated successfully, but these errors were encountered:
Your issue seems to be related to #509, where we decided to retry on 500 errors.
However, from the log trace you shared above, it looks like the Symphony Backend is returning 500 because of a 422 received from an internal component. Which is the actual issue.
I'll sync internally to make sure this issue resolved in the next release, and keep you in touch through this ticket.
Bug Report
Steps to Reproduce:
Using the ConnectionService, accept a connection request using connectionService.acceptConnection(userId), for a user with a connection that has StatusEnum ACCEPTED.
Expected Result:
To throw the following error once:
An unknown error occurred while trying to connect to https://[...]:443/pod. Please check below for more information: {"code":500,"message":"request to userConnections/[...] failed with status 422, message:Status change requested is not consistent with current status."}
Actual Result:
Instead, the RetryWithRecovery kicks in and the connection service keeps trying to accept, each time throwing the same error
Environment:
symphony-bdk 2.2.1
The text was updated successfully, but these errors were encountered: