I’m trying to create subscriptions but when I call UpsertCatalogObjectAsync it is throwing an exception with the error code 400 and the message is ‘HTTP Response Not OK’.
I’m fairly certain that something is wrong with the data structures I am passing in, or that I am missing something, but the error gives me nothing to go on and doesn’t help me at all to figure out what the problem is.
Is there a way I can get more information on exactly why it is failing?
While I am here as well can I just check that subscriptions are available to use in the UK, and that I do not need to be paying a monthly fee to use them? There is a page here about App Subscriptions that says its only available in the US, but yet there is a page here that lists subscription fees for areas outside the US. I have also seen a video that said there is a monthly fee that needs paying. Is this just for people who are using your website builder to create their website? Or does this also apply to people using the SDK?
If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.
The error code 400 usually indicates a bad request, which means there might be an issue with the data you’re sending in your request. Unfortunately, without more specific error details, it’s hard to pinpoint the exact issue.
Regarding your question about subscriptions, the Subscriptions API is available for use in the UK. The page you linked refers to App Subscriptions, which is a different feature and is currently only available in the US. App Subscriptions are for developers who want to charge Square sellers a monthly fee to use their app. This is separate from the Subscriptions API, which is used to manage recurring payments for a seller’s customers.
As for the monthly fee, it’s not required to use the Subscriptions API. The monthly fee you mentioned might be related to Square’s website builder or other specific services, but it’s not a requirement for using the Subscriptions API or the SDKs.