1b.app
Link copied -

Orders with Magento are not pulled up

Integration with Magento is set up https://josera.crm-onebox.com/admin/magento/settings/1/
Automatic action for importing orders is configured. Version selected 2.1
Magento version 2.2.6
Orders are not being pushed. There are 401 errors in the logs.
Integration was created in magento and taken from there: Consumer Key and Consumer Secret
I ask you to clarify what is done wrong and how to do it right?
Original question is available on version: ru

Answers:

Good afternoon.
Everything is written in the logs:
[code] => 401 - Response code for HTTP 401 Unauthorized error status
indicates that the request was not applied because it lacked valid credentials for the target resource.
And the message is:
[response] => {"message": "You've entered invalid login details, because your time block record"}
Check authorization.
15.04.2021, 12:39
Original comment available on version: ru


Tasun Sergey Vladimirovich wrote:
Good afternoon.
Everything is written in the logs:
[code] => 401 - Response code for HTTP 401 Unauthorized error status
indicates that the request was not applied because it lacked valid credentials for the target resource.
And the message is:
[response] => {"message": "You've entered invalid login details, because your time block record"}
Check authorization.

What the error means is clear, the question is what data needs to be registered in the integration in order for it to work. There are no instructions anywhere, the data is written based on the information that I found in magenta tasks
16.04.2021, 10:22
Original comment available on version: ru

The error you're seeing is being handled by a third-party service.
Ask in the TP of this service what is wrong.
16.04.2021, 15:10
Original comment available on version: ru

Do I understand correctly that data transfer should be via Rest api https://devdocs.magento.com/guides/v2.4/get-started/bk-get-started-api.html ? Or was it done through authentication keys https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html ?
19.04.2021, 12:12
Original comment available on version: ru

You understand correctly, API is used for data exchange
19.04.2021, 12:36
Original comment available on version: ru

Authorization method here this one should be used ?
19.04.2021, 12:43
Original comment available on version: ru

No, this one - "Mobile applications authenticate using tokens."
https://devdocs.magento.com/guides/v2.4/get-started/authentication/gs-authentica...
19.04.2021, 13:17
Original comment available on version: ru

Orders are on the rise. Thanks
We set up the integration according to this instruction https://devdocs.magento.com/guides/v2.4/get-started/authentication/gs-authentica...
You need to link the user to the integration, the Identity link URL field
In the integration settings in OneBox, you need to register accesses (login and password) for this user.
20.04.2021, 13:02
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment