Azure / Azure/api-center

API Center Portal - View Documentation - Show error

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
Bug Untriaged
Dominant language
PowerShell
Stars
45
Forks
21
Avg merge
21m
Merged PRs (30d)
1

Description

# Description

When trying to view the OpenApi spec in the managed Api Center Portal I receive an error:

`"The specified API does not exist or its documentation can't be displayed."`

# Reproduction steps

Steps to reproduce the behavior:

1. Go to API Center Portal
2. Click on a API
3. In the side bar that appears, click View documentation.
4. See error

# Expected behavior

I want to see the definition uploaded.

# Actual behavior

See the error message below. When running developer tools in the browser I see a CORS error, not sure if that is the root cause or not. If I follow the link in the reponse (valid for 5 minutes only so hopefully safe to post entire link) I can download the .dat file.

# Screenshots
Error from developer tools:
![Image](https://github.com/user-attachments/assets/381d9a6f-d79a-4a23-96f7-d5ed5ea5fc0c)

Error in the portal:
![Image](https://github.com/user-attachments/assets/edae1030-722a-4e59-9581-f170e2524c90)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.