Open assert6 opened 4 months ago
You can try to use the latest version. I think it has been updated. @assert6
I tried version 0.21 but still reported this error
It's weird. I have do the same operation on devlake release-v0.21(commit: 89a845947), and it works for me. Can you paste the request with curl format? And you can try another tapd company or workspace, and see what will happen.
curl 'http://localhost:4000/api/plugins/tapd/connections/1/scopes' \
-X 'PUT' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Accept-Language: zh-CN,zh;q=0.9,zh-TW;q=0.8,en-US;q=0.7,en;q=0.6' \
-H 'Connection: keep-alive' \
-H 'Content-Type: application/json' \
-H 'Cookie: Phpstorm-275dc04a=4df47315-30fb-43e2-9e84-a51f8e834835' \
-H 'Origin: http://localhost:4000' \
-H 'Referer: http://localhost:4000/connections/tapd/1' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Site: same-origin' \
-H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36' \
-H 'sec-ch-ua: "Chromium";v="122", "Not(A:Brand";v="24", "Google Chrome";v="122"' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'sec-ch-ua-platform: "Windows"' \
--data-raw '{"data":[null,{"createdAt":"0001-01-01T00:00:00Z","updatedAt":"0001-01-01T00:00:00Z","_raw_data_params":"","_raw_data_table":"","_raw_data_id":0,"_raw_data_remark":"","connectionId":0,"id":"63835346","name":"T5","pretty_name":"63835346","category":"","status":"normal","description":"T5","begin_date":null,"end_date":null,"external_on":"","parent_id":"22912571","creator":"T5李林森 (lilinsen@addcn.com)","created":{}}]}'
I found a strange null
in the curl body
When the project and group have the same name, it will be repeated
This issue has been automatically marked as stale because it has been inactive for 60 days. It will be closed in next 7 days if no further activity occurs.
Search before asking
What happened
What do you expect to happen
How to reproduce
stable reproducing
Anything else
No response
Version
devlake:v0.20.0
Are you willing to submit PR?
Code of Conduct