When using the Microsoft Graph API (beta version), the following error occurs periodically when receiving teams messages:
Status Code: BadRequest.
Microsoft.Graph.ServiceException: Code: BadRequest
Message: Parameter 'DeltaToken' not supported for this request., this error occurs for request GET/teams/{id}/channels/{id}/messages/delta.
Usually everything works, but sometimes this error occurs. The application token is used for access.
This request in the code:
var request = GraphServiceClient.Teams[teamId]
.Channels[channelId]
.Messages
.Delta()
.Request();