--- title: "Get QRValue" slug: "get-qrvalue" updated: 2023-02-01T22:53:50Z published: 2023-02-01T22:53:50Z canonical: "documentation.decisions.com/get-qrvalue" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get QRValue | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 8.8.0 | | **Location** | Integration > QR Code | --- The **Get QRValue** step allows users to retrieve the String value from a QR code. ### Prerequisites This step requires the [QR Code](https://documentation.decisions.com/docs/qr-codes-module#overview) module to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Data | The desired byte data of a QR Code image to retrieve the value from | List of Byte | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Output | The value from the QR Code | String | --- ## Example Inputs and Outputs | Data | Output | | --- | --- | | frame.png | Free By Frenatery | | QRSite.gif | http://www.google.com | | Flowers.png | EXCEPTION MESSAGE | | Example.txt | EXCEPTION MESSAGE | | Null | EXCEPTION MESSAGE | | Empty | EXCEPTION MESSAGE | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1675275363309.png) --- ## Common Errors ### Incorrect Parameter Count, Data Not Mapped Correctly If the Data field is empty, the step will cause an error. To correct this, ensure that an input mapping is selected and the correct List of Byte data is configured. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get QRValue 1[GetQRValue] in flow [Flow 1]: Incorrect Parmater Count, Data Not Mapped Correctly ---> DecisionsFramework.LoggedException: Incorrect Parmater Count, Data Not Mapped Correctly ---> System.Reflection.TargetParameterCountException: Parameter count mismatch. at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` --- ### ImageConverter cannot convert from (null) If the value for the Data field is null, the step will cause an error. To correct this, ensure that the value entered or mapped is a List of Byte data type. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get QRValue 1[GetQRValue] in flow [Flow 1]: Exception invoking method GetQRValue on class QRCodeSteps ---> DecisionsFramework.LoggedException: Exception invoking method GetQRValue on class QRCodeSteps ---> System.NotSupportedException: ImageConverter cannot convert from (null). at System.ComponentModel.TypeConverter.GetConvertFromException(Object value at System.ComponentModel.TypeConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value at System.Drawing.ImageConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value at System.ComponentModel.TypeConverter.ConvertFrom(Object value at Decisions.QRCodes.QRCodeSteps.GetQRValue(Byte[] data) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` --- ### Parameter is not valid If the value for the Data field is not valid QR Code data, the step will cause an error. To correct this, ensure that the value entered or mapped is a valid QR Code image. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get QRValue 1[GetQRValue] in flow [Flow 1]: Exception invoking method GetQRValue on class QRCodeSteps ---> DecisionsFramework.LoggedException: Exception invoking method GetQRValue on class QRCodeSteps ---> System.ArgumentException: Parameter is not valid. at System.Drawing.Image.LoadGdipImageFromStream(GPStream stream, Boolean useEmbeddedColorManagement at System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData at System.Drawing.ImageConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value at System.ComponentModel.TypeConverter.ConvertFrom(Object value at Decisions.QRCodes.QRCodeSteps.GetQRValue(Byte[] data) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` --- Related Information Documentation: [QR Codes Module](https://documentation.decisions.com/docs/qr-codes-module#overview) Forum Posts: [Generate QR Codes](https://support.decisions.com/forum/topic25382-generate-qr-codes.aspx) ## Related - [Recognize Bar/QR Codes From PDF](/recognize-barqr-codes-from-pdf.md) - [Recognize Bar/QR Codes From Word Doc Step](/recognize-barqr-codes-from-word-doc-step.md) - [Recognize Bar/QR Codes From Image Data Step](/recognize-barqr-codes-from-image-data-step.md) - [Does Image Have QRCode](/does-image-have-qrcode.md) - [Generate QRCode](/generate-qrcode.md)