NHP95 / ReportPortal-Katalon-Integration

MIT License
7 stars 4 forks source link

com.extension.reportportal.service.TestItemService Can't create object on ReportPortal #34

Open contd opened 3 years ago

contd commented 3 years ago

I was getting this to work but now when I changed the RP_NAME it started giving the error below. Even when I change the setting back it still gives this error now.

09-15-2021 11:28:39 AM getInstance().addListenerEventHandle(new com.extension.reportportal.listener.ReportPortalListener(defaut_personal, SmokeTest))

Elapsed time: 4.147s

com.extension.reportportal.service.TestItemService Can't create object on Reportportal :
{"errorCode":4003,"message":"You do not have enough permissions."} 

Attached are screen shots of my code and settings. Screenshot 2021-09-15 114149 Screenshot 2021-09-15 114415

NHP95 commented 3 years ago

Hi Jason,

Could you please check whether your UUID in the bearer token has sufficient permissions?

On Wed, Sep 15, 2021 at 10:45 PM Jason P Kumpf @.***> wrote:

I was getting this to work but now when I changed the RP_NAME it started giving the error below. Even when I change the setting back it still gives this error now.

09-15-2021 11:28:39 AM getInstance().addListenerEventHandle(new com.extension.reportportal.listener.ReportPortalListener(defaut_personal, SmokeTest))

Elapsed time: 4.147s

com.extension.reportportal.service.TestItemService Can't create object on Reportportal : {"errorCode":4003,"message":"You do not have enough permissions."}

Attached are screen shots of my code and settings. [image: Screenshot 2021-09-15 114149] https://user-images.githubusercontent.com/14170277/133465573-7adc526c-7834-4c7f-a69b-1fda866e99e4.png [image: Screenshot 2021-09-15 114415] https://user-images.githubusercontent.com/14170277/133465670-e5283021-7e92-4fc2-ba42-4d4ff3d00ed6.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NHP95/ReportPortal-Katalon-Integration/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEOMG3I432PRAARHNJQVNTUCC5P3ANCNFSM5ECYA5LQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

contd commented 3 years ago

I did just double check and tried to run again but get the same error.

NHP95 commented 3 years ago

Could you try again with an uuid of an admin?

On Wed, Sep 15, 2021 at 11:33 PM Jason P Kumpf @.***> wrote:

I did just double check and tried to run again but get the same error.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NHP95/ReportPortal-Katalon-Integration/issues/34#issuecomment-920175882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEOMG2C7KLMNFPDQPDHHY3UCDDEDANCNFSM5ECYA5LQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

contd commented 3 years ago

Doesn't seem to matter. I used the default login token and still same error. I tried closing Katalan studio and reopening and no luck. It's weird that it worked a few times and then stopped.

contd commented 3 years ago

I am so sorry! It was a typo on my part in the RP_NAME. I had it spelled out "defaullt_personal". I'm running on 3 hours of sleep. Thank you so much for helping so fast!

NHP95 commented 3 years ago

Glad to hear it!

On Thu, 16 Sep 2021 at 00:23 Jason P Kumpf @.***> wrote:

I am so sorry! It was a typo on my part in the RP_NAME. I had it spelled out "defaullt_personal". I'm running on 3 hours of sleep. Thank you so much for helping so fast!

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/NHP95/ReportPortal-Katalon-Integration/issues/34#issuecomment-920217737, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEOMG2DKXEJDBCTA35S7LTUCDJAJANCNFSM5ECYA5LQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.