But im getting error when i try to POST or PUT methods from apigateway.
{
"message": "Bad Request: Configuration must be a valid YAML document"
}
I have created a pcluster API as mentioned in the aws docs. When i run this from cli it works. When i try to run from API gateway or postman im getting error.
Please advise how to fix this issue.