[BUG] Scala paged catchup invalid channel error not in line with specification #1944
Open
2 of 6 tasks
Labels
bug
Something isn't working
Description (Actual behavior)
When sending a paged catchup message with a channel parameter that is invalid, Scala is currently validating the Regex for the channel specified in the paged catchup JSON schema (^/root(/[^/]+)/social/(chirps(/[^/]+)|profile(/[^/]+){2})$), and returns the following error:
Expected behavior
In protocol.md, it says: "If a paged catchup message is sent on another channel, the backend returns an error with a -1 code indicating that this is an invalid action and a description saying that paging is not supported on this channel."
How to reproduce
Send a paged catchup message with an invalid channel parameter.
An example:
Front-ends:
Back-ends:
The text was updated successfully, but these errors were encountered: