Header issues with API Workflow

Hi…I have wasted a whole day trying to figure out an API header issue with respect to a payment API integration for Razorpay. (Attaching the pictures hereby)

The API intializes but when the json is sent using the same initialized call, it returns an error regarding a parameter that is nowhere in the API documentation. When I checked on github, for one of the threads the Razorpay team said, that they should not pass “Content-type”: “application/json” in the header. But without it, the API does not initialize.

I am in a bit of soup here. Any help will be much appreciated.

  1. Here’s the curl of the API to create

  2. API call initialized

  3. This is the JSON being passed in the workflow

  4. And this is the error
    Screenshot 2020-08-24 at 9.47.44 PM

Apologies for the long query! Fingers crossed for any assistance here.

I have followed up with Razorpay and they are saying it is an error at Bubble end in passing the response of json. Adding Bubble support/bug team hereby. @Bubble requesting you to solve this!! Here’s a reply I am getting from Razorpay team.

This is the screenshot of the reply from their team…

Hello! Sorry to hear about this trouble; can you please file a bug report with reproducible steps so that our team can investigate? Thanks in advance!

1 Like

Thanks Jeff. Have filed the bug. Looking to hear from the team soon.