result.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. 
  2. Warning: Constant USE_TEST_DATA already defined in C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php on line 71
  3. php : PHP Warning: Constant USE_TEST_DATA already defined in
  4. C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php on line 71
  5. Au caractère Ligne:1 : 1
  6. + php -r "define('USE_TEST_DATA', true); require 'api/user/user/POST_us ...
  7. + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  8. + CategoryInfo : NotSpecified: (PHP Warning: C....php on line 71:String) [], RemoteException
  9. + FullyQualifiedErrorId : NativeCommandError
  10. Warning: http_response_code(): Cannot set response code - headers already sent (output started at C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php:71) in C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php on line 77
  11. PHP Warning: http_response_code(): Cannot set response code - headers already sent (output started at
  12. C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php:71) in
  13. C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php on line 77
  14. Warning: Cannot modify header information - headers already sent by (output started at C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php:71) in C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php on line 78
  15. {
  16. "error": "Error creating user",
  17. "status": 403,
  18. "message": "Forbidden",
  19. "lucca_response": {
  20. "type": "https:\/\/tools.ietf.org\/html\/rfc9110#section-15.5.4",
  21. "title": "Forbidden",
  22. "status": 403,
  23. "detail": "Exception of type 'Lucca.Core.Shared.Domain.Exceptions.ForbiddenException' was thrown.",
  24. "Message": "Exception of type 'Lucca.Core.Shared.Domain.Exceptions.ForbiddenException' was thrown.",
  25. "traceId": "00-c2278ed1e86d4003b501c7a3af0f6b48-b7e6053a2150965a-00"
  26. },
  27. "type": "Forbidden",
  28. "suggestion": "Your API token does not have permission to create users. Check API token permissions in Lucca settings.",
  29. "debug": {
  30. "url": "https:\/\/siparh-livinweb.sandbox.eu1.luccasoftware.com\/api\/v3\/users",
  31. "total_time": 0.358808
  32. }
  33. PHP Warning: Cannot modify header information - headers already sent by (output started at
  34. C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php:71) in
  35. C:\Users\USER\Documents\Intersel\dev\Lucca\api\user\user\POST_userV2.php on line 78
  36. }