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
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Kapila Perera shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

2 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • Kapila 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 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