-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
2.16.0 GA
-
None
-
False
-
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
When attempting to approve a service subscription via the 3scale API, the request results in a 422 Unprocessable Entity error. This has been tested using both the official API Docs tool and direct curl commands, confirming that the error consistently occurs.
This request is described as a PUT request whereas via UI is doing a POST request.
curl -X 'PUT' '_domain_/admin/api/accounts/241/service_subscriptions/1049/approve.json -d 'access_token=thetoken'
Response:
{
"errors": {
"state": [
"cannot transition via \"accept\""
]
}
}
Expected behaviour
The Service Subscription should be successfully approved, and success response(HTTP 200) should be returned.
- is related to
-
THREESCALE-2689 Add the ability to create or update a Service Subscription using the 3scale API
-
- Closed
-