You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have encountered an unexpected behavior when unmarking the Production endpoint and attempting to access a Resource with the Security toggle disabled. This action results in the following 403 Forbidden response, regardless of whether the Authentication header is provided:
{
"code": "900901",
"type": "Status report",
"message": "Runtime Error",
"description": "Production key offered to the API with no production endpoint"
}
Steps to Reproduce
Enter the Publisher Portal
Deploy the PizzaShack API
Navigate to the: PizzaShack API details --> API Configurations --> Resources --> Open the /menuresource --> Disable the Security toggle
Navigate to the: PizzaShack API details --> API Configurations --> Endpoints --> Unmark the Production Endpoint
Save and Deploy
Enter the Devportal
Try Out the PizzaShack API marking Sandbox as the Key Type
Invoke the /menu resource
Expected Behavior
Invoking the /menu endpoint with the Sandbox key type should proceed without errors, provided that the Sandbox endpoint is correctly configured.
Actual Behavior
Invoking the /menu resource under the described conditions results in a runtime error indicating that a production key was offered without an available production endpoint.
Affected Component
APIM
Version
4.2
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered:
Description
Hello team,
We have encountered an unexpected behavior when unmarking the Production endpoint and attempting to access a Resource with the Security toggle disabled. This action results in the following 403 Forbidden response, regardless of whether the Authentication header is provided:
Steps to Reproduce
Enter the Publisher Portal
Deploy the PizzaShack API
Navigate to the: PizzaShack API details --> API Configurations --> Resources --> Open the /menuresource --> Disable the Security toggle
Navigate to the: PizzaShack API details --> API Configurations --> Endpoints --> Unmark the Production Endpoint
Save and Deploy
Enter the Devportal
Try Out the PizzaShack API marking Sandbox as the Key Type
Invoke the /menu resource
Expected Behavior
Invoking the /menu endpoint with the Sandbox key type should proceed without errors, provided that the Sandbox endpoint is correctly configured.
Actual Behavior
Invoking the /menu resource under the described conditions results in a runtime error indicating that a production key was offered without an available production endpoint.
Affected Component
APIM
Version
4.2
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: