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
which is not the same that having type but with empty value (""). In fact, that usage doesn't make sense, as it would be like saying that the type of the entity must be "", which is an ilegal value, as @iariasleon correctly points out.
type or typePattern: optional (but both at the same time is not allowed). type must follow NGSIv2 restrictions for IDs. typePattern must be not empty and a valid regex.
That should be enhance adding "(if present it must be not empty, i.e. "" is not allowed)"
in POST v2/subscriptions, if "entities/type" has empty values, returns a 201 in http code and type field does not exist in DB.
See "Field syntax restrictions" in fiware-ngsiv2-reference:
subscription request
subscription response
doc in mongo
expected response
The text was updated successfully, but these errors were encountered: