Hi- I’m using the API connector for the Stripe FX API (not available as a plug-in), and I’m having a bit difficult to get it working. Could someone help please?
Error:
Raw response for the API
Status code 400
{
“error”: {
“message”: “Invalid request (check that your POST content type is application/x-www-form-urlencoded). If you have any questions, we can help at https://support.stripe.com/.”,
“type”: “invalid_request_error”
}
}
got a different error message. It says the URL request is not recognized, but it’s following the Stripe FX documentation: FX Quotes | Stripe API Reference
There was an issue setting up your call.
Raw response for the API
Status code 400
{
"error": {
"message": "Unrecognized request URL (POST: /v1/fx_quotes). Please see https://stripe.com/docs or we can help at https://support.stripe.com/. (Hint: In order to access this beta feature, you must explicitly specify which version of the beta you want, by passing an HTTP header \"Stripe-Version: 2025-03-31.basil;fx_quote_preview=v1\".)",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_cHyC0C2tk7WRaO?t=1745259316",
"type": "invalid_request_error"
}
}
I can see the issue with your Stripe FX API setup in Bubble. The error message provides the exact solution you need - you’re missing a required HTTP header for this beta feature.
The error states: “In order to access this beta feature, you must explicitly specify which version of the beta you want, by passing an HTTP header ‘Stripe-Version: 2025-03-31.basil;fx_quote_preview=v1’”
Here’s how to fix it:
You need to add a custom header to your API call
Go to the “Headers” section of your API configuration
Click “Add header”
For the Key, enter: Stripe-Version
For the Value, enter: 2025-03-31.basil;fx_quote_preview=v1
This header tells Stripe which version of the beta feature you want to use. Since the FX feature is in beta, this special header is required to access it.
After adding this header, try initializing the call again and it should work properly.