<p>Search for that error in <code>storage/runtime/logs</code>. There should be a stack trace getting logged alongside the error, which can help you understand where exactly the error is occurring.</p>

CC BY-SA 4.0
2023-03-14T11:57:46.757Z
thanks, i got this 
```2023-03-14 11:50:44 [queue.ERROR] [yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: asd\modname\Module::syncService in /var/www/html/vendor/yiisoft/yii2/base/Component.php:154
Stack trace:
#0 /var/www/html/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get()
#1 /var/www/html/modules/modname/jobs/ModNameJob.php(21): yii\di\ServiceLocator->__get()
#2 /var/www/html/vendor/yiisoft/yii2-queue/src/Queue.php(246): asd\modname\jobs\ModNameJob->execute()```
Arham
CC BY-SA 4.0
2023-03-20T09:03:38.823Z
Finally fix, my bad place the register components services inside custom group permission
Arham
CC BY-SA 4.0
2023-03-14T11:30:21.593Z
2023-03-14T11:30:21.593Z
Brandon Kelly
<p>i have build a module to send entry value into a graphql mutation.
so far running and succesfully,
now with craft 4 (actually as 4.4.0), i plan to use job queue of craft.
i add into queue before sync with priority 10 and always got failed within message</p>
<p><code>Getting unknown property: asd\ModName\Module::syncService</code></p>
<p>i have tried to find related issue and solver but nothing,</p>
<p>anyone have same issue ?</p>
<p>or any clue for Getting unknown property ?</p>

CC BY-SA 4.0
2023-03-14T03:53:07.117Z
we also build another modules and use queue job to send revalidation (a sample job) and result ok
Arham
<php><modules><services><queue><phpstorm>
Job queue always failed to sync data into api/graphql with Getting unknown property of service
# Job queue always failed to sync data into api/graphql with Getting unknown property of service

(Asked by: username_0 on 2023-03-14)

i have build a module to send entry value into a graphql mutation.
so far running and succesfully,
now with craft 4 (actually as 4.4.0), i plan to use job queue of craft.
i add into queue before sync with priority 10 and always got failed within message

`Getting unknown property: asd\ModName\Module::syncService`

i have tried to find related issue and solver but nothing,

anyone have same issue ?

or any clue for Getting unknown property ?

**Tags:** php, modules, services, queue, phpstorm
> **Comments:**
> **username_0**: we also build another modules and use queue job to send revalidation (a sample job) and result ok  

---

## 1 answers

### Answer by username_1 on 2023-03-14. Score: 1

Search for that error in `storage/runtime/logs`. There should be a stack trace getting logged alongside the error, which can help you understand where exactly the error is occurring.

> **Comments:**
> **username_0**: thanks, i got this  ```2023-03-14 11:50:44 [queue.ERROR] [yii\base\UnknownPropertyException] yii\base\UnknownPropertyException: Getting unknown property: asd\modname\Module::syncService in /var/www/html/vendor/yiisoft/yii2/base/Component.php:154 Stack trace: #0 /var/www/html/vendor/yiisoft/yii2/di/ServiceLocator.php(77): yii\base\Component->__get() #1 /var/www/html/modules/modname/jobs/ModNameJob.php(21): yii\di\ServiceLocator->__get() #2 /var/www/html/vendor/yiisoft/yii2-queue/src/Queue.php(246): asd\modname\jobs\ModNameJob->execute()```  
> **username_0**: Finally fix, my bad place the register components services inside custom group permission  

---

