Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

错误提示 #102

Closed
fronEnd-test opened this issue Jul 27, 2022 · 19 comments
Closed

错误提示 #102

fronEnd-test opened this issue Jul 27, 2022 · 19 comments
Labels

Comments

@fronEnd-test
Copy link

我在对接注册设备的时候提示{"response":{"error":{"code":"InvalidValue","index":"RYuYsd_4VoiVF34wpxzEJAAAAAAAAAABv_ARlqvxrJ-jPM4mLFcoeH3O84pv6xnbo-wcRzJIxyyhPjBCuewweBAyzdvpHH8pNWKTMsS-INu_7O68uG5-zO2zLPuh4pw3hCpbGWbU0U2E69sXj2DW1Wg23I_GGku1y0pmefIWzfmLwdMkXSDjzkO7OzK3JzmjmcegCPIihpnSNbodgAtiE06b6cfjDnEcaPoTICxuYcXvy1zOOuXsSAYHULgBTO_XXnJHGw==","message":"One or more provided values are invalid."}},"request_id":"67dde610-45d1-4cef-9c3f-fd4f2f58ddf3"},
请问怎么处理

@mkb79
Copy link
Owner

mkb79 commented Jul 27, 2022

Hello. Can you provide me your origin request which result in these error message? I can't do anything with this information alone.

@fronEnd-test
Copy link
Author

你好。您能否向我提供导致这些错误消息的原始请求?单凭这些信息我什么也做不了。

请求地址 https://api.amazon.ca/auth/register

请求参数
{
"requested_extensions": ["device_info", "customer_info"],
"cookies": {
"website_cookies": [],
"domain": ".amazon.ca"
},
"registration_data": {
"domain": "Device",
"app_version": "3.76.3",
"device_type": "A2CZJZGLK2JJVM",
"device_name": "%FIRST_NAME%%FIRST_NAME_POSSESSIVE_STRING%%DUPE_STRATEGY_1ST%Audible for iPhone",
"os_version": "15.1.1",
"device_serial": "Kz0WPCB0688dgF2JkkHNb3LeKsSaGX62Rs2BAbh1",
"device_model": "iPhone",
"app_name": "Audible",
"software_version": "37603817"
},
"auth_data": {
"client_id": "4b7a305750434230363838646746324a6b6b484e62334c654b735361475836325273324241626831234132435a4a5a474c4b324a4a564d",
"authorization_code": "ANKxpILvMEPNAKvXxsbksmGi",
"code_verifier": "kspa0g0sxHBt7pa-VhueP04iZ9l8OUMj4OtmBT6zgHQ",
"code_algorithm": "SHA-256",
"client_domain": "DeviceLegacy"
},
"user_context_map": {
"frc": "AFQ7rRqrzeV5FbykyVzCM9Sm/s+gvpBWsk6gh9JCKJzlIONY9ZppO6aa2SIk7vP3lF8DWRYQsIepZDLOfHvzSrZAAU3Cb0DuLuACETdmGcqtvMVoMdFWCXJ6Djk7RyFwnvc9DOV5zJXOsEB1qC0E5IPHqvIBMTPubHcHBKgZiFuB9E30MmEIcMcK6t//YNZwetm+PSY5BM1OiUOUg7p4LqzmtqHgfoGuix+nTcojnAFujaqlz2NJPLAldPs1YMXtQZ4ahgrv+XdNLpiYTDzCLdUEYiQ2ZK96lh7yy6GYaCntySPW5i/cURwjc8xuf0gLosdYp7CQK3+wIns3k4MyQeCSV59nWyplQRyGLVNio17XgZqwngvOTA7/liqHDbgX3yZI91EBqcw6"
},
"requested_token_type": ["bearer", "mac_dms", "website_cookies"]
}

@fronEnd-test
Copy link
Author

Hello. Can you provide me your origin request which result in these error message? I can't do anything with this information alone.

好像是code导致的,有的账号能注册,有的账号注册不了

@mkb79
Copy link
Owner

mkb79 commented Jul 27, 2022

It seams that you are using your own implementation! The app_version, os_version and software_version are different than my. That’s make it difficult to solve your issue.

I suspect there is a problem with the authorization_code and the code_verifier. They are depend on each other.

@fronEnd-test
Copy link
Author

It seams that you are using your own implementation! The app_version, os_version and software_version are different than my. That’s make it difficult to solve your issue.

I suspect there is a problem with the authorization_code and the code_verifier. They are depend on each other.

我可以看看你的版本参数吗?我试一试

@mkb79
Copy link
Owner

mkb79 commented Jul 27, 2022

@fronEnd-test
Copy link
Author

你好,请问用python哪个版本执行?

@mkb79
Copy link
Owner

mkb79 commented Jul 27, 2022

You should have Python 3.6.0 at least. I would prefer Python >= 3.8.

@fronEnd-test
Copy link
Author

You should have Python 3.6.0 at least. I would prefer Python >= 3.8.

你好,我是一名前端开发,我不是很熟悉python,请问有JavaScript版本的吗

@fronEnd-test
Copy link
Author

You should have Python 3.6.0 at least. I would prefer Python >= 3.8.

我尝试在login.py文件运行,但是我启动就在报错
image

@fronEnd-test
Copy link
Author

image

You should have Python 3.6.0 at least. I would prefer Python >= 3.8.

你好,我是一名前端开发,我不是很熟悉python,请问有JavaScript版本的吗

你好,这些包是不是已经过时了?

@mkb79
Copy link
Owner

mkb79 commented Jul 27, 2022

@mkb79
Copy link
Owner

mkb79 commented Jul 27, 2022

Do you use a VPN?

@fronEnd-test
Copy link
Author

Do you use a VPN?

对的

@fronEnd-test
Copy link
Author

Do you use a VPN?

对的

可以加你联系方式请教一下你吗?

@mkb79
Copy link
Owner

mkb79 commented Jul 27, 2022

What is the purpose of your program? Is it open source? Is it used for commercial purposes?

@fronEnd-test
Copy link
Author

What is the purpose of your program? Is it open source? Is it used for commercial purposes?

我做学习项目

@fronEnd-test
Copy link
Author

What is the purpose of your program? Is it open source? Is it used for commercial purposes?

我把你的项目跑起来了 ,注册设备还是出错

@github-actions
Copy link

This issue has not been updated for a while and will be closed soon.

@github-actions github-actions bot added the stale label Sep 27, 2023
@mkb79 mkb79 closed this as completed Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants