S
S
Sergey Dobrovsky2020-05-12 16:43:40
opencart
Sergey Dobrovsky, 2020-05-12 16:43:40

“SyntaxError: Unexpected token < in JSON at position 0” Error while editing order by staff?

When editing an order, the following error
occurs: “SyntaxError: Unexpected token < in JSON at position 0”
5ebaa7f2631ab331575333.png

And I don’t have such an error from the admin account.
Somewhere too clever in access rights?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Kulikov, 2020-05-12
@anatoly_kulikov

Apparently, when sending data to the server, you need to specify either headers, or additional keys (login, token, something else), or some other small things - the system cannot recognize your request as authorized.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question