Discussions

 View Only
  • 1.  Validation error: Incorrect template "{{c.user.id}}". ValueError: invalid literal for int() with base 10: 'user'

    Posted 11 days ago

    I am not sure why I am getting this error in my pipeline.

    invalid literal for int() with base 10: 'user'



    ------------------------------
    Melanie Proebstel
    ------------------------------


  • 2.  RE: Validation error: Incorrect template "{{c.user.id}}". ValueError: invalid literal for int() with base 10: 'user'

    Posted 11 days ago

    You may be better off opening a Support Case with the Quickbase team who can access your app. The first thing I'd confirm is that both fields, the "expert_assigned" and field referenced in Step C {{c.user.id}}, are the same type. And I'd check to see if the field help text "Specify either user ID or user email" is displayed where you are setting the User (presumably) in your Pipeline step.

    Also, you can cast values to different types via Jinja, but I'm not sure that's appropriate here. For example, {{c.user.id|int}}

    Hopefully that helps!



    ------------------------------
    Brian Seymour
    ------------------------------



  • 3.  RE: Validation error: Incorrect template "{{c.user.id}}". ValueError: invalid literal for int() with base 10: 'user'

    Posted 6 days ago

    Hi Melanie,

    Sounds like you did a query in step C but didn't use a loop on the results.  The loop will allow you to run the Create Record for each record in the search results.


    Hope that helps!



    ------------------------------
    Doug Henning
    ------------------------------