显示AppNotExist

Viewed 77

curl --request POST --url https://solution.wps.cn/api/developer/v1/office/convert/to/pdf --header 'Authorization: WPS-2:SX20231219EVSWCK:7f2d5f523515538c05eb546492fe7ee7d4afcb11' --header 'Content-Md5: b070f6df830b01bc2f22574944c86743'
--header 'Content-Type: application/json'
--header 'Date: Tue, 19 Dec 2023 15:29:35 GMT'
--data '{"filename":"506804705129681861.doc","url":"http://8.138.104.182:9000/annex/506804705129681861.doc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=c8minioadmin%2F20231219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231219T072922Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=846d1894e180df65d644391fae3f2c55871389f6a6397a1d4af825d4c7866664"}'
{"code":20002,"message":"AppNotExist","hint":"","extra":""}%
测试环境的地址不一样吗
image.png

有生成新的还是报这个时间错误 curl --request POST --url https://solution.wps.cn/api/developer/v1/office/convert/to/pdf --header 'Authorization: WPS-2:SX20231219EVSWCK:c8f2c3f496da2e1b1a49357075c6e3842c7b409e'
--header 'Content-Md5: 73678f15546353565aad4fe3d792237a'
--header 'Content-Type: application/json'
--header 'Tue, 19 Dec 2023 17:15:27 GMT'
--data '{"filename":"506804705129681861.doc","url":"http://8.138.104.182:9000/annex/506804705129681861.doc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=c8minioadmin%2F20231219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231219T091527Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=56c29c88d5387734df49f6a5333ebb7e3b332a9260dd7c1444da1658ff60e7c8"}'

急急急

WPS-2:SX20231219EVSWCK:4430b313c4e25b3ce150d7668ef41219055e2cde feba3359b021639ff5a16ebe9fc60c12 Tue, 19 Dec 2023 17:21:52 GMT {"filename":"506804705129681861.doc","url":"http://8.138.104.182:9000/annex/506804705129681861.doc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=c8minioadmin%2F20231219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231219T092152Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ca14a4cc8dcc0504db2e8b82f668f03a56dc4d3eab155566d844982ea674c2f2"}
{"code":30003,"message":"InvalidSignature","hint":"not a valid datetime or too skewed. Date: Tue, 19 Dec 2023 17:21:52 GMT","extra":""}

4 Answers

现在应该可以了,非常抱歉,是我们这边有点小问题。

{"code":20002,"message":"AppNotExist","hint":"","extra":""} 还是一样 是不是测试环境的地址不一样呀

我这边用你贴的curl 请求,返回的是签名错误,这个可能是时间的问题,但应该是应用已经获取到了。你再试试? image.png

WPS-2:SX20231219EVSWCK:4430b313c4e25b3ce150d7668ef41219055e2cde feba3359b021639ff5a16ebe9fc60c12 Tue, 19 Dec 2023 17:21:52 GMT {"filename":"506804705129681861.doc","url":"http://8.138.104.182:9000/annex/506804705129681861.doc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=c8minioadmin%2F20231219%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231219T092152Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ca14a4cc8dcc0504db2e8b82f668f03a56dc4d3eab155566d844982ea674c2f2"}
{"code":30003,"message":"InvalidSignature","hint":"not a valid datetime or too skewed. Date: Tue, 19 Dec 2023 17:21:52 GMT","extra":""}

每次添加都是新的 时间 都是这个错

{"code":30003,"message":"InvalidSignature","hint":"not a valid datetime or too skewed. Date: Tue, 19 Dec 2023 17:09:47 GMT","extra":""}

我刚传的时间显示异常 新的数据