{"id":286,"date":"2025-04-26T14:29:23","date_gmt":"2025-04-26T14:29:23","guid":{"rendered":"http:\/\/www.soapandseife.com\/?p=286"},"modified":"2025-04-26T23:25:07","modified_gmt":"2025-04-26T23:25:07","slug":"bad-request-for-url-https-api-hubapi-com-oauth-v1-token","status":"publish","type":"post","link":"http:\/\/www.soapandseife.com\/index.php\/2025\/04\/26\/bad-request-for-url-https-api-hubapi-com-oauth-v1-token\/","title":{"rendered":"Bad Request for url: https:\/\/api.hubapi.com\/oauth\/v1\/token"},"content":{"rendered":"
I created the hubspot integration in my platform, when the code to refresh access token is hit via dev environment it works fine but when the same code to refresh token is hit via prod environment, I get this issue of bad request, I checked everything seems to be same bw both the environments, can somebody help me fix this issue?<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"
I created the hubspot integration in my platform, when the code to refresh access token is hit via dev environment it works fine but when the same code to refresh token is hit via prod environment, I get this issue of bad request, I checked everything seems to be same bw both the environments, can…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/posts\/286"}],"collection":[{"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/comments?post=286"}],"version-history":[{"count":1,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/posts\/286\/revisions"}],"predecessor-version":[{"id":287,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/posts\/286\/revisions\/287"}],"wp:attachment":[{"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/media?parent=286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/categories?post=286"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.soapandseife.com\/index.php\/wp-json\/wp\/v2\/tags?post=286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}