Microsoft Power Automate - error with flow - Action 'Parse_JSON' failed - power-automate

I have an error with my flow - Action 'Parse_JSON' failed:
Details:
Unable to process template language expressions in action 'Parse_JSON' inputs at line '0' and column '0': 'Required property 'content' expects a value but got null. Path ''.'.
Please see the screenshot above, it appears when a the file upload feature on the MS Form is not inputted, but as this question on the Form is optional we need this flow to work either when the file upload is present or not.
Many thanks,
Andy

Most likely your JSON is expection data in a field that got null. In the example her I fixed it by adding "null" as a valid value, so "emailadress2" is no longer mandatory.
See also https://powerusers.microsoft.com/t5/General-Power-Automate/Handling-NULL-in-Parse-JSON/td-p/40906

Related

In #ngxs/form-plugin, what is the definition of the properties mentioned in the example?

Please expand your NgxsFormPluginModule description on gitbook.
I just implemented a reactive forms example with #ngxs/form-plugin.
It works great, but it was a bit of a struggle to get it to work; because it was not clear to me that the form state must have these specific properties:
model: YourFormModel,
dirty: boolean,
status: string,
errors: {}
Maybe you could add an explanation of these properties and their intended use?
What are the possible values for status, or is this up to the developer to define?
What type of object is errors and what is it used for? It appears to be empty even when validation fails. errors would suggest it is an array, but the example defines the default as an object?
I am posting this as a question because of your answer here: Where is it best to post questions about ngxs?
status field is supposed to store latest status of FormGroup.
You can see the code that is responsible for its update here.
The possible values for status are defined here.
errors is supposed to contain validation errors for the whole form group.
Its type is ValidationErrors since it's supposed to copy errors from the corresponding form group.
The code responsible for its update is supposedly here.
But there's an unsolved issue with filling it with actual error data., so it's not available yet and you'll have to rely on controls' error data.

fhir-net-api (STU3) - DocumentReference POST parsing error

Using the fhir-net-api (STU3, ver - 0.93.4.0), when trying to POST a DocumentReference resource, the following error is generated when parsing the resource (body)-
"IndexedElement : is not a correctly formatted Instant"
This is occurring when parsing the value of the "Indexed" attribute, which is of "instant" datatype.
The value being passed is of the form - yyyy-MM-ddTHH:mm:ss+-Offset.
For example - 2005-12-24T09:43:41+11:00
Is there a different format to be used when passing values to "instant" datatypes?
No, your code seems fine. Can I ask you to:
Create an issue in the .NET API tracker so I can solve it and you'll be updated when I do.
Try the latest (0.93.5-beta6) to see if it got solved already?

VBScript runtime error '800a01b6'

I'm trying to add data to access database, but its prompting a error
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method: 'directory'
/opac/search/form_ac.asp, line 17
asp code of this error is:
' title = ChkString(Request.directory("title"))
description = ChkString(Request.directory("description"))'
As Martha explained in the comments, the ASP Request Object does not have a directory Property. It is used to access Form or Querystring input.
You can find information about it here, f.i..
You say, you had this code working in another environment? Maybe there was a custom class overriding the default Request object. Such an object could have provided a valid "Directory" property.
You could check all included code.

IBM Integration Toolkit Issue for Validation

I am working on IBM Integration toolkit. I wanted to understand the exact validation feature of a particular input node via an example. Can anyone help?
Validation on inputs node you can see them in validation tab, you can choose how to validate (content, conent and value or none if you like to implement your own vaildation and what to do if this validate is failure (Exception , Exception List , user trace, log local error),
validation done automatically depends on the message parser : [BLOB, XMLNSC, XMLNS, SOAP, MRM, ..etc ], and message structurewhich is defined in your message set.
for example :
If you create a message set with message definition file and this message definition has got and element and this element is required and integer, and you set this message set to your input node, validation feature runs automatically if you put for example string value or you left it empty validation exception occurs.

Is there a way to make angular run all the validations of an input instead of stoping when the first validation fails?

I'm having problems trying to make angular run all the validations of an input at once.
Here is a jsfiddle example of my problem http://jsfiddle.net/carpasse/GDDE2/
if you type 1 character on the email input you get this "The minimum lenght is 3." error message
and is not until you type 2 more characters than you get the other error message "This is not a valid email."
Does anybody know how to make angular show both error messages at the same time??
Thanks a lot in advance
You problem is not that all the validators are not being run - they are!
Remember that the way these validations work is by passing the view values through a pipeline of transformation functions, which can also specify the validity of the value.
The problem is that the min length validator passes undefined down the pipeline if it is not valid and that the email validator says that undefined is a valid email address!
Try creating your own validation directive that says that undefined is not a valid email address and you will find both errors are showing: http://jsfiddle.net/eKfj3/

Resources