Error no post with this post_id?

Hello, make a request for the removal of the post from the wall VK when the content of a particular text
private function noticeWallPostNew($text, $from_id, $id){
 foreach ($this->config['swear_words'] as $swear_words){
 if ( mb_strpos($text,$swear_words) !== false)
 'owner_id' => $this->config['vk']['group_id'],
 'post_id' => $id

But mistake
Error code: 100
Description: One of the parameters specified was missing or invalid: no post with this post_id

In the variable $id post id is stored (138). How to deal with it ?
June 3rd 19 at 19:04
1 answer
June 3rd 19 at 19:06
For the group, owner_id, hopefully, the negative pass?
Of course - josi commented on June 3rd 19 at 19:09
, access rights there? you have a standalone app? - Tessie commented on June 3rd 19 at 19:12

Find more questions by tags PHP