api-management-developer-portal icon indicating copy to clipboard operation
api-management-developer-portal copied to clipboard

Misformated HTTP response body in dev portal when trying out API

Open Radamonas opened this issue 2 years ago • 7 comments

Bug description

Response JSON is not formatted as JSON, but as a single line string:

image

Reproduction steps

  1. Go to APIs
  2. Click on any API we have
  3. Select subscription and enter querying values
  4. Hit SEND
  5. Receive HTTP 200 response and misformatted response body

Expected behavior

A clear and concise description of what you expected to happen.

Is your portal managed or self-hosted?

Managed

Environment

  • Operating system: Windows 10
  • Browser: Opera/Chrome
  • Version: 90.0.4480.84/105.0.5195.102

Additional context

Previously HTTP section in DevPortal was parsing JSON without any issues. Similar issue was raised in StackOverflow

Radamonas avatar Sep 08 '22 07:09 Radamonas

@Radamonas, thank you for opening this issue. We will triage it within the next few business days.

ghost avatar Sep 08 '22 07:09 ghost

This issues has been fixed in #1929. Managed portals will receive the update some time next week.

azaslonov avatar Sep 09 '22 20:09 azaslonov

@Radamonas, thank you for reporting the bug.

ghost avatar Sep 09 '22 20:09 ghost

getting same issue again

image

nuwan600 avatar Sep 21 '22 04:09 nuwan600

plz have look @azaslonov

nuwan600 avatar Sep 21 '22 11:09 nuwan600

@nuwan600, the fix for this is being rolled out as we speak. It should be over in all regions by the end of the week.

azaslonov avatar Sep 21 '22 15:09 azaslonov

thankx..

nuwan600 avatar Sep 21 '22 19:09 nuwan600

This can be closed as it was resolved.

Radamonas avatar Feb 10 '23 12:02 Radamonas