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
My guess is that this error is detected before we detect that it is a APIv2 request.
The fix should be to simply delay the check of multiple service path until after the detection of API v1/v2.
As I can see, both postSubscriptions (V2) and postSubscribeContext methods fill the SubscribeError struct. This provides only a render() method, printing out in both cases the same V1 response. Then a toJson() method that prints out V2 messages, should be implemented. Furthermore, an approach similar to OrionError struct and its smartRender(), could be followed.
arigliano
added a commit
to arigliano/fiware-orion
that referenced
this issue
Oct 31, 2017
Attemping to subscribe using
POST /v2/subscriptions
with multiple service paths, the following error message is returned:The semantics of the error are ok. However, the syntax is not correct for a NGSIv2 message:
error
anddescription
.The text was updated successfully, but these errors were encountered: