access denied when Upsert ecommerce settingsSOLVE
Jun 17, 2019 6:37 AM
I'm trying to create Ecommerce settings for my app through the Api. I followed this page https://developers.hubspot.com/docs/methods/ecommerce/v2/upsert-settings. The problem is, when I call this method with my developer api key and app id it returns this error: "Api[name=integrations-sync, subPath=/extensions/sync/v1/settings] Failed to process your request. Error code was '400'. Error message was:\nThis hub does not have write access for objectType[PRODUCT]".
What is wrong exactly and, what can I do with this?
Solved! Go to Solution.
Jun 18, 2019 8:54 AM
Finally, my problem solved. What a funny and ridiculous mistake was happening. I'm using Postman too. When I copied your request URL to the postman, it worked and, I realized that instead of "appId" parameter, I used the "appid" term. All of these problems happened because of the case-sensitive matter. I really appreciate your help. You saved my life. Thanks for your fantastic support.
Have a good day.