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

Bug in Upload Foto do Story #2

Open
ooclaar opened this issue Jun 6, 2021 · 1 comment
Open

Bug in Upload Foto do Story #2

ooclaar opened this issue Jun 6, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ooclaar
Copy link

ooclaar commented Jun 6, 2021

Hi, how are you?

I encountered a problem when uploading a photo via the API. I'm getting the Token correctly. But when filling in the data... It presents the following error:

{
   "detail": "must be real number, not NoneType",
   "exc_type": "TypeError"
}

image

7c6377c2-95c2-4a89-aa9e-2729a7950de0

@adw0rd adw0rd self-assigned this Jun 9, 2021
@adw0rd adw0rd added the bug Something isn't working label Jun 9, 2021
@Nitesh210
Copy link

you can use github curl example to run the endpoint it will work
curl -X 'POST'
'http://localhost:8000/photo/upload_to_story'
-H 'accept: application/json'
-H 'Content-Type: multipart/form-data'
-F 'sessionid='
-F '[email protected];type=image/jpeg'

Stiveknx added a commit to Jmallone/instagrapi-rest-1 that referenced this issue Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants