Schemas are not creating and throwing errors while connecting to the operations

HI, Team,

I am currently working with API management creation via terraform scripts. In that process, I’m encountering a few issues while trying to create the schemas and connect the API operations to the schemas. The error which I’m facing is attached in the image “api_operation_schemas_connection.png”

The block of code which I’ve implemented is attached in the “Schema_Operation_connection_code.png”

The resource which I’m referring to is this links:
For operation connection/ schema_id attribute: Terraform Registry

For schemas creation: Terraform Registry

Could you please help on resolving this error and also let me know if I’m missing anything from the code implementation point of view?

Thank You,
Jagadeesh Dhulipudi
Software Engineer - ValueLabs