Skip to content

Unpublished Products are listed and creating a subscription for those leads to a silent error #2765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mxr576 opened this issue Feb 11, 2025 · 0 comments

Comments

@mxr576
Copy link

mxr576 commented Feb 11, 2025

Bug description

Unpublished Product as listed in Product catalog and when a user tries to create a subscription for those the process silently fails with the following error in the network console:

{"code":"BadRequest","message":"{\"error\":{\"code\":\"ValidationError\",\"message\":\"Operation is not allowed in the current product state\",\"details\":null}}"}

Reproduction steps

  1. Create an unpublished Product on API management that requires subscription, unpublished and developer group has access granted.
  2. Confirm it is visible on the developer portal for a logged in user.
  3. Try to subscribe to the Product.

Expected behavior

Unpublished Products are not listed.

Is self-hosted portal?

Yes

(Also managed devportal)

Release tag or commit SHA (if using self-hosted version)

2.32.0

API Management service name

N/A

Environment

  • Operating system: [e.g., iOS]: N/A
  • Browser: [e.g., Google Chrome, Safari]: N/A
  • Version: NA/

Additional context

Add any other context about the problem here, including screenshots.

@mxr576 mxr576 changed the title Unbuplished Products are listed and creating a subscription for those leads to a silent error Unpublished Products are listed and creating a subscription for those leads to a silent error Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant