Hi
Ich versuche über den Step PlentySetOrdersHead eine Auftragsnotiz anzulegen. Die OrderNoteUserID schicke ich ebenfalls mit. Jedoch erhalte ich immer folgenden Fehler:
18:48:35 - Executed Step PlentySetOrdersHead
18:48:35 - Used limit: 50
18:48:36 - Add order comment (info) for order ID 22788
18:48:36 - WARNING:Could not create order comment: (Root Causes: PlentyRESTBaseException: {"error":{"message":"This action is unauthorized: This action is unauthorized.","file":"\/var\/www3\/plenty\/early_b\/pl\/app\/Modules\/Authorization\/Services\/Gate.php","code":0,"trace":[{"file":"\/var\/www3\/plenty\/early_b\/pl\/app\/Modules\/Authorization\/Services\/Gate.php","line":69,"function":"deny","class":"Plenty\\Modules\\Authorization\\Services\\Gate","type":"->","args":[]},{"file":"\/var\/www3\/plenty\/early_b\/pl\/vendor\/laravel\/framework\/src\/Illuminate\/Auth\/Access\/Gate.php","line":318,"function":"inspect","class":"Plenty\\Modules\\Authorization\\Services\\Gate","type":"->","args":["create","Plenty\\Modules\\Comment\\Models\\Comment"]},{"file":"\/var\/www3\/plenty\/early_b\/pl\/app\/Modules\/Authorization\/Services\/Gate.php","line":32,"function":"authorize","class":"Illuminate\\Auth\\Access\\Gate","type":"->","args":["create","Plenty\\Modules\\Comment\\Models\\Comment"]},{"file":"\/var\/www3\/plenty\/early_b\/pl\/vendor\/laravel\/framework\/src\/Illuminate\/Support\/Facades\/Facade.php","line":261,"function":"authorize","class":"Plenty\\Modules\\Authorization\\Services\\Gate","type":"->","args":["create","Plenty\\Modules\\Comment\\Models\\Comment"]},{"file":"\/var\/www3\/plenty\/early_b\/pl\/app\/Modules\/Comment\/Repositories\/CommentRepository.php","line":84,"function":"__callStatic","class":"Illuminate\\Support\\Facades\\Facade","type":"::","args":["authorize",["create","Plenty\\Modules\\Comment\\Models\\Comment"]]},{"file":"\/var\/www3\/plenty\/early_b\/pl\/app\/Modules\/Comment\/Controllers\/CommentController.php","line":90,"function":"createComment","class":"Plenty\\Modules\\Comment\\Repositories\\CommentRepository","type":"->","args":[{"referenceValue":22788,"userId":5,"text":"https:\/\/trackandtrace.planzergroup.com\/shared\/accounts\/64574\/sendungen?referenz=22788&key=6e317ab558bc11cf4dbded49a8fec2db&brand=planzer","referenceType":"order","isVisibleForContact":false,"plentyMarkets":"rest\/comments"}]},{"file":"\/var\/www3\/plenty\/early_b\/pl\/vendor\/laravel\/framework\/src\/Illuminate\/Routing\/Controller.php","line":54,"function":"createComment","class":"Plenty\\Modules\\Comment\\Controllers...
18:48:36 - Total orders updated: 1 | Total skipped orders: 0
Komplette Nachricht: 18:48:35 - Executed Step PlentySetOrdersHead18:48:35 - Used limit: 5018: - Pastebin.com
Was ist das Problem, fehlt irgendeine Berechtigung?