Forum Discussion
subzero19
Feb 21, 2024Copper Contributor
Error BCP036: The property "gateway" expected a value of type "string"
We're getting the error when we're trying to deploy On Premise Data Gateway API Connection:
Error BCP036: The property "gateway" expected a value of type "string" but the provided value is of type "object"
This was the initial properties file of the API connection we're trying to deploy
We then updated the value of the gateway property into a string
But got this error
"ConnectionGatewayReferenceMissing","message":"The gateway reference connection parameter is missing for the on-premise connection request."
Are we missing an attribute? This never happened before. It looks like there have been changes that happened some time this week to Azure API connection deployment
1 Reply
Sort By
Not sure update the gateway property can help:
"gateway": { "name": "gatewayName", "id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/connectionGateways/{gatewayName}", "type": "Microsoft.Web/connectionGateways" }