Title: io.gate.gateapi.GateApiException: label: INVALID_PROTOCOL, message: invalid argument: #4 · Issue #9 · gateio/gateapi-java · GitHub
Open Graph Title: io.gate.gateapi.GateApiException: label: INVALID_PROTOCOL, message: invalid argument: #4 · Issue #9 · gateio/gateapi-java
X Title: io.gate.gateapi.GateApiException: label: INVALID_PROTOCOL, message: invalid argument: #4 · Issue #9 · gateio/gateapi-java
Description: 您好,当我在创建合约的时候,服务器响应这个错误,我不能理解这个是什么意思,希望解答一下.谢谢 异常信息: io.gate.gateapi.GateApiException: label: INVALID_PROTOCOL, message: invalid argument: #4 使用的SDK版本是6.23.2,JDK1.8,以下是我运行的代码: @test public void testCreateFutureOrder(){ ApiClient defaultC...
Open Graph Description: 您好,当我在创建合约的时候,服务器响应这个错误,我不能理解这个是什么意思,希望解答一下.谢谢 异常信息: io.gate.gateapi.GateApiException: label: INVALID_PROTOCOL, message: invalid argument: #4 使用的SDK版本是6.23.2,JDK1.8,以下是我运行的代码: @test public void tes...
X Description: 您好,当我在创建合约的时候,服务器响应这个错误,我不能理解这个是什么意思,希望解答一下.谢谢 异常信息: io.gate.gateapi.GateApiException: label: INVALID_PROTOCOL, message: invalid argument: #4 使用的SDK版本是6.23.2,JDK1.8,以下是我运行的代码: @test public void tes...
Opengraph URL: https://github.com/gateio/gateapi-java/issues/9
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"io.gate.gateapi.GateApiException: label: INVALID_PROTOCOL, message: invalid argument: #4","articleBody":"您好,当我在创建合约的时候,服务器响应这个错误,我不能理解这个是什么意思,希望解答一下.谢谢\r\n异常信息:\r\nio.gate.gateapi.GateApiException: label: INVALID_PROTOCOL, message: invalid argument: #4\r\n\r\n使用的SDK版本是6.23.2,JDK1.8,以下是我运行的代码:\r\n\r\n\r\n@Test\r\n public void testCreateFutureOrder(){\r\n ApiClient defaultClient = Configuration.getDefaultApiClient();\r\n defaultClient.setBasePath(\"https://api.gateio.ws/api/v4\");\r\n // Configure APIv4 authorization: apiv4\r\n defaultClient.setApiKeySecret(\"bafc64c31ed7b8aedaa2bb6366bcd351\", \"\");\r\n FuturesApi apiInstance = new FuturesApi(defaultClient);\r\n String settle = \"usdt\"; // String | Settle currency\r\n FuturesOrder futuresOrder = new FuturesOrder(); // FuturesOrder |\r\n futuresOrder.setContract(\"BTC_USDT\");\r\n futuresOrder.setText(\"t-2022032300000001\");\r\n futuresOrder.setIceberg(0L);\r\n futuresOrder.setTif(FuturesOrder.TifEnum.IOC);\r\n futuresOrder.setSize(10L);\r\n try {\r\n FuturesOrder result = apiInstance.createFuturesOrder(settle, futuresOrder);\r\n System.out.println(result);\r\n } catch (GateApiException e) {\r\n System.err.println(String.format(\"Gate api exception, label: %s, message: %s\", e.getErrorLabel(), e.getMessage()));\r\n e.printStackTrace();\r\n } catch (ApiException e) {\r\n System.err.println(\"Exception when calling FuturesApi#createFuturesOrder\");\r\n System.err.println(\"Status code: \" + e.getCode());\r\n System.err.println(\"Response headers: \" + e.getResponseHeaders());\r\n e.printStackTrace();\r\n }\r\n }","author":{"url":"https://github.com/violet0851","@type":"Person","name":"violet0851"},"datePublished":"2022-03-22T17:33:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/9/gateapi-java/issues/9"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f1717347-7565-31b6-78dc-56e0469f7c6d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C066:1C5B2E:300137:429CAB:698F2F40 |
| html-safe-nonce | ea10ec86670c4010c429ba7bab82eec020433640ebc9b51ba47652ac9eb2f6a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDY2OjFDNUIyRTozMDAxMzc6NDI5Q0FCOjY5OEYyRjQwIiwidmlzaXRvcl9pZCI6Ijg5MzU5NTY4NDI5NzE4Njg5OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6d3d13d3d00f363bfa492f2ed16d56102e6abe022468e799c2bdb89f549b6c56 |
| hovercard-subject-tag | issue:1177090823 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gateio/gateapi-java/9/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bbdfed7e7f124f8ecfcc7371ae2a5379c41880efad406143ac9321a3c5cf34d5/gateio/gateapi-java/issues/9 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bbdfed7e7f124f8ecfcc7371ae2a5379c41880efad406143ac9321a3c5cf34d5/gateio/gateapi-java/issues/9 |
| og:image:alt | 您好,当我在创建合约的时候,服务器响应这个错误,我不能理解这个是什么意思,希望解答一下.谢谢 异常信息: io.gate.gateapi.GateApiException: label: INVALID_PROTOCOL, message: invalid argument: #4 使用的SDK版本是6.23.2,JDK1.8,以下是我运行的代码: @test public void tes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | violet0851 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6102991c714c1a6a27d05fb4f96ea6ca87a6750b4f093b95cc57ed1b84b145a1 |
| turbo-cache-control | no-preview |
| go-import | github.com/gateio/gateapi-java git https://github.com/gateio/gateapi-java.git |
| octolytics-dimension-user_id | 32661171 |
| octolytics-dimension-user_login | gateio |
| octolytics-dimension-repository_id | 163492710 |
| octolytics-dimension-repository_nwo | gateio/gateapi-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 163492710 |
| octolytics-dimension-repository_network_root_nwo | gateio/gateapi-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e2fe82f90e107669021e243add8f74ea2a9be1b3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width