API error: Action is invalid
Problem Statement
The Chargebee API returns this error when the request body is not urlencoded:
{"errors":[{"message":"Action is invalid."}]}
Solution
The API accepts only a urlencoded request body, that is, x-www-form-urlencoded. In the screenshot, form-data is selected. Use x-www-form-urlencoded.