e2corporation opened a new issue, #3031:
URL: https://github.com/apache/incubator-devlake/issues/3031

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   GitHub connections are unable to complete a Test operation, API response 
returns Internal Server 500 instead of expected.
   
   - [ ] The GitHub Provider is unable to complete a successful token test even 
though a valid token is being used. 
   - [ ] The "invalid" token message is not returned by API
   
   
   <img width="982" alt="Screen Shot 2022-09-08 at 10 20 18 PM" 
src="https://user-images.githubusercontent.com/1742233/189258545-1f60e0e3-7fb4-40a9-8fab-53b49ec31ca2.png";>
   
   ![Screen Shot 2022-09-08 at 10 16 45 
PM](https://user-images.githubusercontent.com/1742233/189258643-f1ca157b-aa09-4b67-8ce7-ba73e9f1c7a6.png)
   
   <img width="836" alt="Screen Shot 2022-09-08 at 10 22 01 PM" 
src="https://user-images.githubusercontent.com/1742233/189258879-599b4f9f-5f58-4d58-b612-386346b3f2ef.png";>
   
   ```
   {
     "success": false,
     "message": "error executing the requested resource for plugin github"
   }
   ```
   
   
   ### What you expected to happen
   
   - If a Token Test is **successful** the API responds with expected _true_ 
response `{ success: true ....}`
   - If a Token Test is **unsuccessful** the API responds with _false_ response 
& applicable message {success: false, message: .... }
   
   ### How to reproduce
   
   Test a GitHub Data Connection
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   main
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to