sourcefuse / loopback4-microservice-catalog

A Catalog of Microservices Created by SourceFuse for the Community
https://sourcefuse.github.io/arc-docs/arc-api-docs/
MIT License
292 stars 70 forks source link

`@sourceloop/video-conferencing-service`: [POST] `/session` doesn't return json. #2087

Closed shubhamp-sf closed 6 days ago

shubhamp-sf commented 4 months ago

Describe the bug The API to get meeting link returns a string which leads to the following error:

{
    "error": {
        "statusCode": 415,
        "name": "UnsupportedMediaTypeError",
        "message": "Content-type text/plain;charset=UTF-8 does not match [application/json].",
        "code": "UNSUPPORTED_MEDIA_TYPE"
    }
}

To Reproduce Steps to reproduce the behaviour:

  1. Install and setup @sourceloop/video-conferencing-service.
  2. Hit the /session POST api.
  3. See the error returned.

Expected behaviour It should return the response in JSON format containing the meeting link.