Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Dhruv Sompura's avatar

I am getting error when calling api : could not get response

I am using shopify graph api. Api is working fine, but sometimes i am getting this error : could not get response I dont know this is the error of laravel or shopify ? I think laravel is not sending response, becuase i tried ti return something before api call to shopify and its didint worked. So it may be laravel error . Or any api limits?

0 likes
4 replies
Nakov's avatar

You are sending REQUEST from Laravel, RESPONSE is coming from an API, so either limits or something else, check if there is a debug mode or anything you can enable on the API by adding a flag so that it gives you better response.

Check your laravel.log files for any errors in there.

1 like
Dhruv Sompura's avatar

@Nakov OKay i will check error log, but shopify rate limits are REST Admin API supports a limit of 40 requests per app per store per minute. Ana i am not sending that much requests per minute

Dhruv Sompura's avatar

@Nakov I checked there are no erros regarding to api, i think its stopped working from laravel side

Dhruv Sompura's avatar

@Nakov Hello, i found that issue is from laravel. I added middleware on apis, i saved api last called time, And i added 1 minute gap between api use. So if you call next api under 1 minute then you get message that api called 5 seconds ago. But in postmen when i am calling api then first time i got this message and from next time i am not getting this response. I am seeing this screen : COULD NOT GET ANY RESPONSE

Please or to participate in this conversation.