I’m having issues connecting to my api configured, i already read the documentation and tried different ways to get the Json data, I’m start thinking that it may be my hosting provider but want to ask here first for more help. I am letting the steps that i followed.
- I already enable and configured API settings, pic#1
- I Tried: https://xyz.com/sma/api/v1/products?include=brand,category&api-key=xxxxxxxxxx (replacing xyz as domain, and xxxxxxx as diferents api keys)
- It always show me error 404 (pic#2)
- If you think that may be my hosting provider, which file do you recommend check, also I’m planning to migrate to a vps
- CTAnswered
- CTAnswered
I already spoke with my hosting provider, they told me that I do not have any type of restriction to make get calls through the API
- MSAnswered
Hello,
You only need to add
sma/
if you have installed the item inside thesma
folder. Otherwise you can try https://xyz.com/api/v1/products?include=brand,category&api-key=xxxxxxxxxxThank you
- MSAnswered
Hello,
You should try https://eckmoda.com/api/v1/products?include=brand,category&api-key=wks4ogwg00w808o40ggg480k0sg48kc8g4sg8k04
https://eckmoda.com/api/v1/sales?api-key=wks4ogwg00w808o40ggg480k0sg48kc8g4sg8k04
https://eckmoda.com/api/v1/purchases?api-key=wks4ogwg00w808o40ggg480k0sg48kc8g4sg8k04
I can see that the products endpoint is giving 500 error, please check the server error logs and let me know the error details so that I can suggest solution.
Thank you
- CTAnswered
Hi, I already talk with my hosting provider, they told me they don’t have any restriction, also i found something weird, when i try to get data from the products its give me an 500 error:
but when i try to get data from sales, or purchases, it works:
- MSAnswered
Hello,
I didn’t ask to check with your host. I requested you to check there server error logs and let me know the error details.
Thank you
- Login to Reply