Skip to main content
← Data, API & Backend
Data, API & Backend Solved November 3, 2022 · 4 replies

Problem on API request detail

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

I have a page detail where I'm fetching a single object through a "detail" request. The main endpoint I'm using is GET \Offers while this endpoit is GET \Offers\{offer_id}
on the GET \offers I defined as selected Data "offer_id" the id of each element, so theoretically when a user is clicking over that offer element it should trigger GET\Offers\${offer_id} placing the id I of the element I have selected.
Instead I get this error

 /offer/[object%20Object]  

 

Value "[object Object]" is not a valid integer.

, 

Why is Bravo passing an object?

4 replies

Marta Serrano Bravo team November 8, 2022

Hello  ! 

Could you share configuration information about your use case? (your can share it with Support via email if you prefer)

  • Video or screenshots of your configuration to see where could be the issue
  • Steps to reproduce
  • App ID of your Bravo project

Thank you!

Fred November 8, 2022

Hi Marta I've sent on Thursday evening all the info you mentioned and also show cased the problem by screen sharing on the Friday Bravo session. Still waiting for a reply.

Marta Serrano Bravo team November 9, 2022

Ok, then let me check with support then about the status of your issue and I will inform you. Sorry for the inconvenience.

Fred November 9, 2022

Hey Marta, that error faded away by itself. I have a similar issue with another endpoint. I hope that this time I'll get a reply on time

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