spotonlive / php-google-my-business

Google MyBusiness
Apache License 2.0
29 stars 25 forks source link

Getting "Requested entity was not found." when creating posts in loop/bulk for different user #25

Open anujshah95 opened 2 years ago

anujshah95 commented 2 years ago

The API is working fine for a single post but does not work with multiple users posting. Example - I've 5 users and each user has their own location selected. If I'm posting to their accounts individually it's working fine but when I try to post into all user's accounts in foreach loop then it's working fine for the first user (no matter which user) but after that, each API gives the below response.

"error": { "code": 404, "message": "Requested entity was not found.", "errors": [ { "message": "Requested entity was not found.", "domain": "global", "reason": "notFound" } ], "status": "NOT_FOUND" } }

I've checked all the input parameters and it's alright. The user's access token is also perfect but still facing this issue.

Any help would be appreciated. Thanks in advance.