Skip to main content
← Data, API & Backend
Data, API & Backend December 14, 2022 · 1 reply

error 422 when i try to link data

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

get / Member data

image.png

post / donation

image.png

WhatsApp Image 2022-12-14 at 8.40.35 PM.jpeg

I am working on a non-profit organization app and I faced a problem
at first, the user creates a profile and registers on airtable with the record id as {MemberID}
then when he registers participation or donation I want to link these forms with user record {MemberID}
to be able to count and sum all donations or participation registered with the same member
but this message appears to me
.........................
or another solution to sum and count the data with the same user.email on airtable 
..........
thanks in advance

1 reply

robert December 14, 2022

most likely your {memberID} is being sent empty to the second post call.

Ive  found that the most reliable way to work with bravo is through device.id.

in this case you need to add the device.id filed in your donations table on airable to keep track of that.

you can also add a device.id field on your users table.

***if you want to use {memberID} you need to do a call to get that value one page before the post call is being submitted. _bravo cant do a get call, store the variable value and use it on the same page.

you need to do the get memberID call on page 1 and then take the user to page2 and there do the post request._

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord