How to access and use TrackVia's API or Application Scripts?

Wrong data type provided for input.

Hi,

I was unable to use the following API end points

GET /openapi/views/{viewId}/records/{recordId}/files/{fieldName:.+

It returns "Wrong data type provided for input." 400 error.

1 vote
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Kapila PereraKapila Perera shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    2 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Kapila PereraKapila Perera commented  ·   ·  Flag as inappropriate

        Hi Justing,

        Thanks for reply.

        In this case also I sent the url without brackets.
        ex- /openapi/views/123/records/1/files/...

      • Justin MauldinJustin Mauldin commented  ·   ·  Flag as inappropriate

        Hi Kapila,

        The same thing is happening here as in your other question.

        You will need to drop the brackets in your syntax and then pull the actual value for the field your pulling.

        Thanks,

        -Justin

      Feedback and Knowledge Base