web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Error in workflows

(0) ShareShare
ReportReport
Posted on by
The 'inputs.parameters' of workflow operation 'Create_item_2' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/IssueSource' is required to be of type 'String/uri'. The runtime value '"Human Resources"' to be converted doesn't have the expected format 'String/uri'.

Please, how do I correct this error?
Categories:
I have the same question (0)
  • Suggested answer
    Jon Unzueta Profile Picture
    1,827 Super User 2025 Season 2 on at
    The error message indicates that you're trying to send an input parameter (`'item/IssueSource'`) to the `Create_item_2` operation in a workflow, but it expects a value in the format of a `String/uri`, while the provided value `"Human Resources"` is being interpreted incorrectly.
    Here’s how to troubleshoot and resolve this issue step by step:
    ### Understanding the Error
    1. **Parameter Format Requirement:**
       - The `item/IssueSource` parameter expects a string that conforms to a URI format. This usually means it needs to be a complete URL or a relative path that identifies a specific resource.
    2. **Current Input Value:**
       - The error occurs because you are passing the value `"Human Resources"` (a plain string) instead of a string formatted as a URI. This is likely causing the conversion issue.
    ### Steps to Correct the Error
    1. **Determine Expected Format:**
       - Check the API documentation for the `Create_item_2` operation to confirm what exact format and values are expected for the `IssueSource` parameter.
    2. **Modify the Input Value:**
       - Change the input value for `item/IssueSource` from `"Human Resources"` to a valid URI. For example, you may need to format it as:
         ```
         "https://example.com/issue-source/human-resources"
         ```
       - Alternatively, if you have a specific value that the API recognizes as valid, use that, like:
         ```
         "Human%20Resources"
         ```
         This encodes spaces into URI-friendly format.
    3. **Using expression syntax if needed:**
       - If you're dynamically populating this value, ensure it correctly formats into a URI before passing it to the workflow operation. You may use expressions to format it as needed.
    ### Example Correction for Dynamic Content:
    - If you are using Dynamic Content or variables in your workflow, make sure to utilize expressions to format the string. An example expression might look like this:
      ```plaintext
      concat('https://example.com/issue-source/', uriComponent('Human Resources'))
      ```
    - This encodes any special characters in `Human Resources`, ensuring that the output is a valid URI format.
    ### Additional Considerations
    - **Testing**: After making the changes, run the workflow to check if the problem persists. Make sure to monitor the inputs being passed to the `Create_item_2` operation.
      
    - **Debugging**: Use temporary logging or debug methods to print out the final value being sent to the operation to confirm it matches expectations.
    ### Documentation Links:
    - [OpenAPI Specification](https://swagger.io/specification/)
    - [Function reference for expressions in Power Automate](https://learn.microsoft.com/en-us/power-platform/guidance/coe/expression-functions)
     
     
    🏷️ Tag me if you have any further questions or if the issue persists.
    ✅ Click "Accept as Solution" if my post helped resolve your issue—it helps others facing similar problems.
    ❤️ Give it a Like if you found the approach useful in any way.
  • bscarlavai33 Profile Picture
    738 Super User 2025 Season 2 on at
    Screenshots would help. What connector are you using for the "Create_item_2"?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard