Status Message: Invalid value given for parameter Login. Specify a valid parameter value. (Code:InvalidParameterValue) - azure

I get this error while creating a SQL database via ARM templates:
Status Message: Invalid value given for parameter Login. Specify a valid parameter value. (Code:InvalidParameterValue)

Related

Azure Data Factory - Capture error details of a dataflow activity

I have a data flow and my requirement is to capture the error details into a variable when it fails and assign this variable to a parameter in the next data flow. I tried to achieve this until the second stage(With help) as below, but I'm unable to get this variable assigned to a parameter in the next data flow. The error I get is - Expression cannot be parsed
To retrieve the dataflow error message, connect the dataflow activity upon failure to the set variable activity to store the error message using the expression:
#string(json(activity('Data flow1').error.message).Message)
Error Message:
Output:

'nvablobs' at line '1' and column '784' is not valid

Trying to create a create Cisco SD-WAN for Azure Virtual WAN but getting the following error:
Deployment template validation failed: 'The provided value for the template parameter 'nvablobs' at line '1' and column '784' is not valid. Length of the value should be greater than or equal to '2'. Please see https://aka.ms/arm-template/#parameters for usage details.'. (Code: InvalidTemplate)
and here's the Raw Error:
{
"code": "InvalidTemplate",
"message": "Deployment template validation failed: 'The provided value for the template parameter 'nvablobs' at line '1' and column '784' is not valid. Length of the value should be greater than or equal to '2'. Please see https://aka.ms/arm-template/#parameters for usage details.'."
}
this is the image from Azure Marketpace: Cisco SD-WAN for Azure Virtual WAN

Getting error when trying to pass the dynamic variable in LookUp activity in Azure data Factory

My requirement is to get the number of error records from the error table generated during pipeline run.
For this I have created a SP which is taking pipeline Id as an Input Parameter and generating count as an output parameter.
I tried to call this Procedure from Lookup activity in ADF using PipelineId as dynamic variable.
But it is throwing an error:
declare #Error_Count int
execute [dbo].[uspErrorRecordCount] '#variables('pipelineId')', #Error_Count output
select #Error_Count as Error_Count
Even I tried with both with and without quotes.
Error Message:
Failure happened on 'Source' side. ErrorCode=SqlOperationFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=A database operation failed with the following error: 'Must declare the scalar variable "#variables".',Source=,''Type=System.Data.SqlClient.SqlException,Message=Must declare the scalar variable "#variables".,Source=.Net SqlClient Data Provider,SqlErrorNumber=137,Class=15,ErrorCode=-2146232060,State=2,Errors=[{Class=15,Number=137,State=2,Message=Must declare the scalar variable "#variables".,},],'
You have to enclose the variable inside #{...} so that its value is resulted inplace.
Example:
declare #Error_Count int
execute [dbo].[uspErrorRecordCount] #{variables('pipelineId')}, #Error_Count output
select #Error_Count as Error_Count
Example:
Import stored procedure parameters and provide the values there.

Append custom information to a JSF error message from Message.Properties file

Can anyone explain how to append information to a default error message thrown from 'message.properties' file in jsf.
My application is setup in such a way that When I enter number 0 instead of any number in a inputText field, I am getting the following error message from message.properties file.
Current functionality:
Validation Error: Value is less than allowable minimum of '1'
But, i want to display the error message on the webpage as follows
Desired functionality:
Validation Error: Value is less than allowable minimum of '1' for the user XYZ
Basically, I want to get the username which is available on the same page where I am entering the number and append this username to the error message in the event of any error. The username will be changing for each user and it is not constant. I am not sure if I can override the message.properties file in this case and write my own error message because the user name will be changing and dynamic.
<f:validateLongRange minimum="1"/>
I am using the above code to validate the input text..

Beanstream errorType values

According to their API documentation, the field of errorType can return either N, S, or U. I assume N = None because that's returned upon success.
What do S and U mean?
From a Beanstream integration document:
The errorType response variable will indicate “U” if a form field error
occurs. The errorFields variable will contain a list of fields that failed validation. errorMessage will contain descriptive text that may be displayed to customers if desired.
And:
System generated errors can be identified in a Server to Server integration by a response message “errorType=S” in the Beanstream response string. If a system generated error occurs, validate your integration and website setup.

Resources