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

   ### 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
   
   1.Create a GitHub connection
   2. Click Add data scope
   3. Search a codebase
   The front end is always loading, interface/search-remote-scopes? search = 
devlak & page = 1 & pageSize = 50 error 400
   Error message: invalid params (400)
   Wraps: (2) 3 error(s) decoding:
     |
     | * 'page' expected type 'int', got unconvertible type '[]string', value: 
'[1]'
     | * 'pageSize' expected type 'int', got unconvertible type '[]string', 
value: '[50]'
     | * 'search' expected type 'string', got unconvertible type '[]string', 
value: '[devlak]'
   Error types: (1) *hintdetail.withDetail (2) *mapstructure.Error
   
![img_v3_025m_c80920a3-bc97-4fad-ae96-983d844d8acg](https://github.com/apache/incubator-devlake/assets/142298906/3782a366-e92c-463d-896b-d6ee47d7d04c)
   
   
   ### What do you expect to happen
   
   1. When the interface reports an error, it is expected that the front-end 
will display the error message instead of loading it all the time.
   2. You need to fix the error reported by the query interface.
   
   ### How to reproduce
   
   See above
   
   ### 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