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
edgeStackCreate returns 500 error when user gives wrong input
Expected Behavior
When a user sends an incorrect edge stack payload to the portainer server then it returns with a 400 error
Actual Behavior
When a user sends an incorrect payload to the portainer server, it returns with a 500 error indicating a server error instead of user error
Steps to Reproduce
1 - Enable edge compute in the settings
2 - Send an API request to the portainer server to create an edge stack
3 - The request needs to contain incorrect outputs i.e using a non existent edge group/incorrect deployment type
4 - See that it comes back with a 500 error instead of 400
Portainer logs or screenshots
No response
Portainer version
2.18.4
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Docker 24.0.3
OS and Architecture
ARM64
Browser
No response
What command did you use to deploy Portainer?
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Before you start please confirm the following.
Problem Description
edgeStackCreate
returns 500 error when user gives wrong inputExpected Behavior
When a user sends an incorrect edge stack payload to the portainer server then it returns with a 400 error
Actual Behavior
When a user sends an incorrect payload to the portainer server, it returns with a 500 error indicating a server error instead of user error
Steps to Reproduce
1 - Enable edge compute in the settings
2 - Send an API request to the portainer server to create an edge stack
3 - The request needs to contain incorrect outputs i.e using a non existent edge group/incorrect deployment type
4 - See that it comes back with a 500 error instead of 400
Portainer logs or screenshots
No response
Portainer version
2.18.4
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Docker 24.0.3
OS and Architecture
ARM64
Browser
No response
What command did you use to deploy Portainer?
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: