All data field doesnt come in an API call

hi bubblers

have anyone experinced that some data fields from an API call isnt available when you try to make an expression with them?

im trying to retrive some data from a stripe call of retrieving some subscription data.. and specially current periods end and start date.. When i initialized the call i got the data and changed the type to date UNIX.. but when i now try to retrieve the data in an expression they doesnt show up as options to pick

It can be challenging to know which fields to click to get to what information you need. It might be under Object…or might be unintentional reinitialization using a value with no start or end date, since if it doesn’t exist, stripe usually doesn’t send it empty which can make it difficult to initialize once and get ALL fields potentially on a data type from Stripe.

1 Like

If you initialized the call and set the fields correctly (not ignore) it should be available if you save the response. But like @boston85719 said, some API will not return some fields when they are empty and when you initialize them in API connector, if they are not there, they won’t be available in expression composer. The way to solve that is to use “manually enter response” option with a full payload. In most case, the documentation will show you a full response example that you can use

2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.