Azure / Azure/azure-quickstart-templates
101-logic-app-ftp-to-blob: parameter issue
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
Sorry to hear you had a bad experience with one of the templates :worried: But, in case you're just asking a question, we're happy to help. You can also check if the question might already have been asked here https://github.com/Azure/azure-quickstart-templates/issues?utf8=%E2%9C%93&q=is%3Aissue
We've created an outline of recommended sections to fill out that will help make this Pull Request awesome!
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
[Template Name goes here](Template link goes here)
### Issue Details
I use the template which is 101-logic-app-ftp-to-blob.
URL : https://github.com/Azure/azure-quickstart-templates/tree/master/101-logic-app-ftp-to-blob.
I filled in the setting form and click the deploy button.
However, I got deployment template validation fail issue.

Error message : {"telemetryId":"5209088f-1de0-49e8-9466-f95cea52399c","bladeInstanceId":"Blade_c014b34e31e74c028823f5abbbf4f3ec_0_0","galleryItemId":"Microsoft.Template","createBlade":"DeployToAzure","code":"InvalidTemplate","message":"Deployment template validation failed: 'Template parameter JToken type is not valid. Expected 'Integer'. Actual 'String'. Please see https://aka.ms/resource-manager-parameter-files for usage details.'.","additionalInfo":[{"type":"TemplateViolation","info":{"lineNumber":88,"linePosition":26,"path":"properties.template.parameters.ftpServerPort"}}]}
It said parameter is not valid, it have to be a 'integer' instead of a 'string'.
But, the parameters of template are all 'string' as default state (check the below picture).

what is the problem? and what should I do to solve this issue?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the 101-logic-app-ftp-to-blob template linked in the issue and inspect the ftpServerPort parameter at the reported validation location, line 88, position 26. Reproduce deployment validation with the provided settings; done means the template accepts the port value without the Integer-versus-String error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100