We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
{ "error": "Invalid credentials", "error_info": { "id": "http_unauthorized", "message": "Invalid credentials" } }
what does this means? I use python3.6, so my code is
#!/usr/bin/env python import sys import base64 import requests import json file_path = sys.argv[1] image_uri = "data:image/jpg;base64," + base64.b64encode(open(file_path, "rb").read()).decode() r = requests.post("https://api.mathpix.com/v3/latex", data=json.dumps({'src': image_uri, 'formats': ['latex_normal', 'latex_styled']}), headers={"app_id": "trial", "app_key": "34f1a4cea0eaca8540c95908b4dc84ab", "Content-type": "application/json"}) print(json.dumps(json.loads(r.text), indent=4, sort_keys=True))
The text was updated successfully, but these errors were encountered:
I meet the same error.how you solved it?
Sorry, something went wrong.
No branches or pull requests
what does this means?
I use python3.6, so my code is
The text was updated successfully, but these errors were encountered: