JSONError: Unexpected token ‘<‘ at 1:1<html>^
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
The error message “JSONError: Unexpected token ‘<‘ at 1:1<html>^” indicates that the response received from the API was in HTML format, instead of JSON format, which is the expected format for most API requests. This error occurs because the client (Postman, in this case) was expecting a JSON response but received an HTML response instead. This could mean that the API endpoint has returned an error page with HTML content, instead of a proper JSON response. To resolve this issue, you should check the API documentation and make sure that the endpoint you are calling returns the correct format. If the issue persists, you should reach out to the API support team for further assistance