php-google-my-business icon indicating copy to clipboard operation
php-google-my-business copied to clipboard

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

Open anujshah95 opened this issue 2 years ago • 0 comments

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.

anujshah95 avatar Dec 06 '21 16:12 anujshah95