karen-liu01 opened a new issue #7343: URL: https://github.com/apache/dolphinscheduler/issues/7343
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened It should not be possible to call interface creation successfully all the time ### What you expected to happen There's something like a two-hour expiration limit ### How to reproduce 1.import curl request to postman send request curl 'http://8.142.78.224:12345/dolphinscheduler/projects/3823326517792/process-definition' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'language: zh_CN' \ -H 'sessionId: d7cdd9ec-0530-4900-bd3f-ed02da4c1d05' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36' \ -H 'Content-Type: application/x-www-form-urlencoded' \ -H 'Origin: http://8.142.78.224:12345' \ -H 'Referer: http://8.142.78.224:12345/dolphinscheduler/ui/' \ -H 'Accept-Language: zh-CN,zh;q=0.9' \ -H 'Cookie: sessionId=d7cdd9ec-0530-4900-bd3f-ed02da4c1d05; sessionId=d7cdd9ec-0530-4900-bd3f-ed02da4c1d05; language=zh_CN' \ --data-raw 'locations=%5B%7B%22taskCode%22%3A3823757902880%2C%22x%22%3A206%2C%22y%22%3A121%7D%5D&name=111&taskDefinitionJson=%5B%7B%22code%22%3A3823757902880%2C%22name%22%3A%22222%22%2C%22description%22%3A%22222%22%2C%22taskType%22%3A%22SHELL%22%2C%22taskParams%22%3A%7B%22resourceList%22%3A%5B%5D%2C%22localParams%22%3A%5B%5D%2C%22rawScript%22%3A%22echo+222%22%2C%22dependence%22%3A%7B%7D%2C%22conditionResult%22%3A%7B%22successNode%22%3A%5B%5D%2C%22failedNode%22%3A%5B%5D%7D%2C%22waitStartTimeout%22%3A%7B%7D%2C%22switchResult%22%3A%7B%7D%7D%2C%22flag%22%3A%22YES%22%2C%22taskPriority%22%3A%22MEDIUM%22%2C%22workerGroup%22%3A%22default%22%2C%22failRetryTimes%22%3A%220%22%2C%22failRetryInterval%22%3A%221%22%2C%22timeoutFlag%22%3A%22CLOSE%22%2C%22timeoutNotifyStrategy%22%3A%22%22%2C%22timeout%22%3A0%2C%22delayTime%22%3A%220%22%2C%22environmentCode%22%3A-1%7D%5D&taskRelationJson=%5B%7B%22name%22%3A%22%22%2C%22preTaskCode%22%3A0%2C%22preTaskVersion%22%3A0%2C%22postTaskCode%22%3A3823757902 880%2C%22postTaskVersion%22%3A0%2C%22conditionType%22%3A0%2C%22conditionParams%22%3A%7B%7D%7D%5D&tenantCode=default&description=&globalParams=%5B%5D&timeout=0' \ --compressed \ --insecure ### Anything else _No response_ ### Version 2.0.0 ### 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]
