(RTBF) Delete responses API 502 Bad Gateway Error response | Community
Skip to main content
Question

(RTBF) Delete responses API 502 Bad Gateway Error response


Hi ,

Trying to delete the responses using the 

 

(RTBF) Delete responses

DELETE

https://api.typeform.com/rtbf/{account_id}/responses

Passed array of email in the body.

but receiving 

502Bad Gateway error code.

Can anyone help on this.

 

 

 

9 replies

Hi ,

 

Trying to call the (RTBF) Retrieve job status with job Id which got as response from (RTBF) Delete responses., but it is throwing exception 

Endpoint not found

404 Not Found Exception , Can anyone help on this


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14907 replies
  • March 19, 2021

Hi - thanks for stopping by! The Form ID “rtbf” seems a bit short, which is most likely causing the issue. Usually our Form IDs are a few characters longer. Would you mind checking your form ID to see if that happens to be the issue? :grinning:


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14907 replies
  • March 19, 2021

Hi again  - disregard my past comment! I see the call you’re making now. :) 

Would you mind sending the entire call you’re making? 


Hi

Can you please refer to this link 
https://developer.typeform.com/responses/reference/rtbf-delete-responses/

There is no form id to pass here.

Please check below request how we are passing 

curl --location --request DELETE 'https://api.typeform.com/rtbf/01F078BCWGGXTV3VG5VW4GAJNK/responses' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ourtoken' \
--header 'Cookie: __cfduid=d15e0f31cab796688e0da343915b666d31616066963; device_view=full' \
--data-raw '[
   "test@test.com"
]'

 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14907 replies
  • March 22, 2021

Hi @adaptors.india thank you! Can I have you try removing: __cfduid=d15e0f31cab796688e0da343915b666d31616066963; device_view=full' \ ?


Hi @Liz 

that cookie was added by postman by default . We tried to remove but it is in hidden.

Other api’s are working except this api.

 

{"code":"NOT_FOUND","description":"Endpoint not found"}

 


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14907 replies
  • March 30, 2021

Hi @adaptors.india apologies for my delay here! Are you still experiencing the issue? If so, would you mind removing any code that isn’t relevant to the call?


  • Explorer
  • 2 replies
  • December 8, 2021

Hi,

I am also trying to use this delete responses API. However, it requires the parameter account_ID. Where does one find their account ID in the UI?


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14907 replies
  • December 8, 2021

Hi @Hannah B I’ve responded in your thread. :grinning:


Reply