length(outputs('Get_files_(properties_only)')?['body/value']) > 0
If I enter the same code for the condition into the new flow the flow fails at running
Action 'Condition' failed: Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'greater' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'.
If I bypass the error by just stating
3 > 0
as condition
The flow works as expected but only when the files actually exist on sharepoint
Anyone any idea why code using length that used tot be an integer now suddenly is a string?
If anyone knows why I had this token error in the first place?
Action 'Get_files_(properties_only)' failed: Error from token exchange: Runtime call was blocked because connection has error status: Enabled| Error, and sharepointonline is in the block list. Connection errors: [ParameterName: token, Error: Code: Unauthorized, Message: 'Failed to refresh access token for service: sharepointonlinecertificatev2. Correlation Id=ba583154-fbb1-4ea8-bad6-c08e41c3973e, UTC TimeStamp=12/2/2024 9:50:52 AM, Error: Failed to acquire token from AAD: {"error":"invalid_grant","error_description":"AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2024-08-11T15:23:45.3627307Z and was inactive for 90.00:00:00. Trace ID: cda842e9-79e3-4991-a69d-05bfc1e1e800 Correlation ID: e4c735ca-9785-4bea-a235-d5938732da39 Timestamp: 2024-12-02 09:50:52Z","error_codes":[700082],"timestamp":"2024-12-02 09:50:52Z","trace_id":"cda842e9-79e3-4991-a69d-05bfc1e1e800","correlation_id":"e4c735ca-9785-4bea-a235-d5938732da39","error_uri":"https://login.windows.net/error?code=700082"}']